DataObjects/Images.php
authorEdward <edward@roojs.com>
Thu, 4 Oct 2018 02:48:17 +0000 (10:48 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Oct 2018 02:48:17 +0000 (10:48 +0800)
DataObjects/Images.php

index 451e1f0..8d6d68b 100644 (file)
@@ -816,7 +816,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
         
     }
     
-    function toBase64($rotate = false, $scale = false)
+    function toBase64($rotate = false, $scaleWidth = 0, $scaleHeight = 0)
     {
         if(!preg_match('/^image\//', $this->mimetype)){
             return false;