Fix parse error

This commit is contained in:
fabrixxm 2018-12-11 20:09:24 +01:00 committed by Hypolite Petovan
parent 8c75c26361
commit e7fbe04b11

View File

@ -4100,7 +4100,7 @@ function api_fr_photo_create_update($type)
$mode = "update";
// check if photo is existing in databasei
if (!Photo::exists($photo_id, ['uid' => api_user(), 'album' => $album]) {
if (!Photo::exists($photo_id, ['uid' => api_user(), 'album' => $album])) {
throw new BadRequestException("photo not available");
}
}