From: Domovoy Date: Sun, 22 Jul 2012 12:22:47 +0000 (+0200) Subject: Photo::scaleImageSquare was giving an inexistent variable to scaleImage. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f723f756fd23f6eb2b19353177f36b5d02c7cba3;p=friendica.git Photo::scaleImageSquare was giving an inexistent variable to scaleImage. --- diff --git a/include/Photo.php b/include/Photo.php index de29dfb672..1a65949663 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -365,7 +365,7 @@ class Photo { if($this->is_imagick()) { $this->image->setFirstIterator(); do { - $this->image->resizeImage($max, $max, imagick::FILTER_LANCZOS, 1, false); + $this->image->resizeImage($dim, $dim, imagick::FILTER_LANCZOS, 1, false); } while ($this->image->nextImage()); return; }