Merge pull request #210 from skipperbent/v2

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