diff --git a/Upload.class.php b/Upload.class.php index 5d800bf..6d5b05c 100644 --- a/Upload.class.php +++ b/Upload.class.php @@ -106,7 +106,7 @@ abstract class Upload */ $greagwar_image = $tmp_file_path; } else { - $greagwar_image = self::getGreagwarImage(self::getFilePath($tmp_file_path)); + $greagwar_image = self::getGreagwarImage($tmp_file_path); } if ($width || $height) { if (!(ImageVariant::getIsClass($image)) && Image::getIsSubClass($image)) {