X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FImages.php;h=7b42dec43ad9b393cbf3946c39c4e0c228bac856;hp=fc3f61e285ff9583b398cdfd974ec47b328778f0;hb=0304325f703b5079a61911017ba313c77eb76ecf;hpb=afdea8e0bdb8f7bc8935caadbc8f08742e35964b diff --git a/DataObjects/Images.php b/DataObjects/Images.php index fc3f61e2..7b42dec4 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -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){