Merge pull request #209 from skipperbent/v2-development

Fixed getExtension method in InputFile retuning empty value.
This commit is contained in:
Simon Sessingø
2017-02-01 07:52:29 +01:00
committed by GitHub
+1 -1
View File
@@ -127,7 +127,7 @@ class InputFile implements IInputItem
*/
public function getExtension()
{
return pathinfo($this->getName(), PATHINFO_EXTENSION);
return pathinfo($this->getFilename(), PATHINFO_EXTENSION);
}
/**