From 263973d95c8d39b8e1aaf3242c40a207cad4deb3 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 4 Oct 2018 11:12:20 +0800 Subject: [PATCH] DataObjects/Images.php --- DataObjects/Images.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2