DataObjects/Images.php
authorEdward <edward@roojs.com>
Fri, 12 Oct 2018 03:10:06 +0000 (11:10 +0800)
committerEdward <edward@roojs.com>
Fri, 12 Oct 2018 03:10:06 +0000 (11:10 +0800)
DataObjects/Images.php

index fc3f61e..7b42dec 100644 (file)
@@ -867,7 +867,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
 //        }
         
         if(!empty($scaleWidth) || !empty($scaleHeight)){
-            $data = $this->scale($scaleWidth, $scaleHeight);
+            $data = $this->scale($data, $scaleWidth, $scaleHeight);
         }
         
         if($rotate){