]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/File.php
Merged stuff from upstream/master
[quix0rs-gnu-social.git] / classes / File.php
index 2390f848de28f420abb06dd211c237ea32467406..735655489b6908d821f6ec3988910705f970ca3c 100644 (file)
@@ -423,6 +423,9 @@ class File extends Managed_DataObject
             }
         }
 
+        // Debug log (convert crop to int to have TRUE being displayed as 1 and FALSE as 0)
+        /* NOISY-DEBUG: */ common_debug('[' . __METHOD__ . ':' . __LINE__ . ']: width=' . $width . ',height=' . $height . ',crop=' . intval($crop));
+
         return $image->getFileThumbnail($width, $height, $crop);
     }