diff --git a/lib/Service/GeophotoService.php b/lib/Service/GeophotoService.php index d20f6ccc4..5a91b0261 100644 --- a/lib/Service/GeophotoService.php +++ b/lib/Service/GeophotoService.php @@ -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();