From: Edward Date: Thu, 4 Oct 2018 03:12:20 +0000 (+0800) Subject: DataObjects/Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=263973d95c8d39b8e1aaf3242c40a207cad4deb3 DataObjects/Images.php --- diff --git a/DataObjects/Images.php b/DataObjects/Images.php index ff5d7f94..ff1f107d 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -839,7 +839,6 @@ class Pman_Core_DataObjects_Images extends DB_DataObject $width = $this->width; $height = $this->height; - print_R($width);exit; if(!empty($scaleWidth)){ $width = $scaleWidth; @@ -847,6 +846,8 @@ class Pman_Core_DataObjects_Images extends DB_DataObject $height = $this->height * $scaleWidth / $this->width; } } + + print_R($width);exit; if(!empty($scaleHeight)){ $height = $scaleHeight;