Skip to content

Commit

Permalink
Hot fix #543
Browse files Browse the repository at this point in the history
Signed-off-by: Arne Hamann <[email protected]>
  • Loading branch information
tacruc committed Mar 11, 2021
1 parent 864929b commit 2bd43bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Service/GeophotoService.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public function getAllFromDB($userId) {
$file_object->basename = $isRoot ? '' : $file->getName();
$file_object->filename = $this->normalizePath($path);
$file_object->etag = $cacheEntry->getEtag();
$file_object->permissions = $file->getPermissions();
//Not working for NC21 as Viewer requires String representation of permissions
// $file_object->permissions = $file->getPermissions();
$file_object->type = $file->getType();
$file_object->mime = $file->getMimetype();
$file_object->lastmod = $file->getMTime();
Expand Down

0 comments on commit 2bd43bc

Please sign in to comment.