Fixed getExtension method in InputFile retuning empty value.

This commit is contained in:
Simon Sessingø
2017-02-01 07:51:35 +01:00
parent 523d49359b
commit bf069c2d42
+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);
}
/**