Photo::scaleImageSquare was giving an inexistent variable to scaleImage.
This commit is contained in:
parent
06a6b22c97
commit
f723f756fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue