Object error

Uncaught Error: Using $this when not in object context
This commit is contained in:
Adam Magness 2017-11-30 07:48:47 -05:00
parent 00ad255540
commit cddadb4b17
1 changed files with 1 additions and 1 deletions

View File

@ -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);