Browse Source

Fix parse error

pull/6482/head
fabrixxm 2 years ago
committed by Hypolite Petovan
parent
commit
e7fbe04b11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/api.php

+ 1
- 1
include/api.php 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");
}
}


Loading…
Cancel
Save