Fix missed merge in ImageEditor

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44334 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-06 03:08:09 +00:00
parent 3983bdda80
commit dbdd3a0fe0

View File

@ -59,7 +59,8 @@
$fileName = $this->requestParams['file'];
if(strpos($fileName,'?') !== false) $fileName = substr($fileName,0,strpos($fileName,'?'));
$command = $this->requestParams['command'];
$this->checkFileExists($fileName);
$this->checkFileExists($fileName);
$fileInfo = pathinfo($fileName);
$gd = new GD($fileName);
switch($command) {
case 'rotate':