]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Module/Api/Friendica/Photoalbum/Show.php
authorHank G <hankgrabowski@gmail.com>
Tue, 13 Dec 2022 21:45:56 +0000 (16:45 -0500)
committerGitHub <noreply@github.com>
Tue, 13 Dec 2022 21:45:56 +0000 (16:45 -0500)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Module/Api/Friendica/Photoalbum/Show.php

index e47ef51daa54640110a5a31bdcd7944c1fe4ca63..485b3e91e74daaa898c23831e5da61b67a57b35c 100644 (file)
@@ -68,9 +68,9 @@ class Show extends BaseApi
                }
 
                $orderDescending = $request['latest_first'];
-               $album = $request['album'];
-               $condition = ["`uid` = ? AND `album` = ?", $uid, $album];
-               $params = ['order' => ['id' => $orderDescending], 'group_by' => ['resource-id']];
+               $album           = $request['album'];
+               $condition       = ["`uid` = ? AND `album` = ?", $uid, $album];
+               $params          = ['order' => ['id' => $orderDescending], 'group_by' => ['resource-id']];
 
                $limit = $request['limit'];
                if ($limit > 500) {