Object error
Uncaught Error: Using $this when not in object context
This commit is contained in:
parent
00ad255540
commit
cddadb4b17
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user