Object error
Uncaught Error: Using $this when not in object context
This commit is contained in:
parent
00ad255540
commit
cddadb4b17
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ class Photo
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$type = $this->guessImageType($photo, true);
|
$type = self::guessImageType($photo, true);
|
||||||
$img = new Photo($img_str, $type);
|
$img = new Photo($img_str, $type);
|
||||||
if ($img->isValid()) {
|
if ($img->isValid()) {
|
||||||
$img->scaleImageSquare(175);
|
$img->scaleImageSquare(175);
|
||||||
|
|
Loading…
Reference in a new issue