mirror of
https://github.com/friendica/friendica
synced 2025-04-29 23:04:24 +02:00
Fix annotation from review
This commit is contained in:
parent
817eeb9734
commit
ae52648950
3 changed files with 4 additions and 2 deletions
|
@ -182,6 +182,9 @@ class Crop extends BaseSettings
|
|||
}
|
||||
|
||||
$Image = Photo::getImageForPhoto($photos[0]);
|
||||
if (!$Image->isValid()) {
|
||||
throw new HTTPException\InternalServerErrorException();
|
||||
}
|
||||
|
||||
$imagecrop = [
|
||||
'resource-id' => $resource_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue