Skip to content

Commit

Permalink
Merge pull request #1088 from nextcloud/fix-1033
Browse files Browse the repository at this point in the history
Photos not showing on shared map
  • Loading branch information
tacruc authored Jul 2, 2023
2 parents cad1c0f + a1e63ac commit 2386fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/PublicPhotosController.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function getPhotos(): DataResponse {
$photo_object->isCreatable = ($permissions & (1 << 2)) && $photo['isCreatable'];
$photo_object->isUpdateable = ($permissions & (1 << 1)) && $photo['isUpdateable'];
$photo_object->isDeletable = ($permissions & (1 << 3)) && $photo['isDeletable'];
$photo_object->path = $folder->getRelativePath($pre_path.$photo['path']);
$photo_object->path = $folder->getRelativePath($pre_path.$photo_object->path);
$photo_object->filename = $photo_object->path;
return $photo_object;
}, $result);
Expand Down

0 comments on commit 2386fab

Please sign in to comment.