From e7fbe04b115d2e35fe82d18b231502ee1a9ec232 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 11 Dec 2018 20:09:24 +0100 Subject: [PATCH] Fix parse error --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index c59ecd016a..5a2248e6e7 100644 --- a/include/api.php +++ b/include/api.php @@ -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"); } } -- 2.39.5