]> git.mxchange.org Git - friendica.git/commitdiff
Don't forget to clean frames before saving
authorDomovoy <domovoy@errlock.org>
Sun, 22 Jul 2012 14:22:06 +0000 (16:22 +0200)
committerDomovoy <domovoy@errlock.org>
Sun, 22 Jul 2012 14:22:06 +0000 (16:22 +0200)
include/Photo.php

index 4ac84d90158ad73e33e5ddf112c480e575941297..06b90bb88af147a8cc3d49ed8b315c80818c68e9 100644 (file)
@@ -475,6 +475,8 @@ class Photo {
                 $this->image->stripImage();
             }
 
+            /* Clean it */
+            $this->image = $this->image->deconstructImages();
             $string = $this->image->getImagesBlob();
         } else {
             $string = ob_get_contents();