Fix annotation from review

This commit is contained in:
Art4 2024-11-18 14:20:57 +00:00
parent 817eeb9734
commit ae52648950
3 changed files with 4 additions and 2 deletions

View file

@ -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,