]> git.mxchange.org Git - friendica.git/commitdiff
Fix parse error
authorfabrixxm <fabrix.xm@gmail.com>
Tue, 11 Dec 2018 19:09:24 +0000 (20:09 +0100)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:12:29 +0000 (09:12 -0500)
include/api.php

index c59ecd016a83fab4934ab07792f91a660ab53646..5a2248e6e7088060275bfc42b59168cd43d703e7 100644 (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");
                }
        }