diff --git a/src/Object/Photo.php b/src/Object/Photo.php index d0f6776618..5d8ad6b3a7 100644 --- a/src/Object/Photo.php +++ b/src/Object/Photo.php @@ -839,7 +839,7 @@ class Photo return false; } - $type = $this->guessImageType($photo, true); + $type = self::guessImageType($photo, true); $img = new Photo($img_str, $type); if ($img->isValid()) { $img->scaleImageSquare(175);