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

index ff5d7f9..ff1f107 100644 (file)
@@ -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;