Skip to content

Commit

Permalink
Update Uploader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aslubsky committed May 8, 2015
1 parent 1f9979a commit 4dd6b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bazalt/Rest/Uploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function getFileSize()

protected function getExt()
{
$pathinfo = pathinfo($this->getFileName(), array(PATHINFO_EXTENSION));
$pathinfo = pathinfo($this->getFileName(), PATHINFO_EXTENSION);
return isset($pathinfo['extension']) ? $pathinfo['extension'] : null;
}

Expand Down

0 comments on commit 4dd6b71

Please sign in to comment.