diff --git a/src/Pecee/Http/Input/InputFile.php b/src/Pecee/Http/Input/InputFile.php index 6ec141b..7ad4744 100644 --- a/src/Pecee/Http/Input/InputFile.php +++ b/src/Pecee/Http/Input/InputFile.php @@ -127,7 +127,7 @@ class InputFile implements IInputItem */ public function getExtension() { - return pathinfo($this->getName(), PATHINFO_EXTENSION); + return pathinfo($this->getFilename(), PATHINFO_EXTENSION); } /**