DataObjects/Images.php
authorEdward <edward@roojs.com>
Fri, 12 Oct 2018 02:54:40 +0000 (10:54 +0800)
committerEdward <edward@roojs.com>
Fri, 12 Oct 2018 02:54:40 +0000 (10:54 +0800)
DataObjects/Images.php

index 1af610b..5576072 100644 (file)
@@ -866,9 +866,9 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             
         }
         
-        if($rotate){
-            $data = $this->rotate();
-        }
+//        if($rotate){
+//            $data = $this->rotate($data);
+//        }
         
         $base64 = 'data:' . $this->mimetype . ';base64,' . base64_encode($data);