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

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