Skip to content

Commit

Permalink
Merge pull request #559 from nextcloud/fix543-Images-not-loading
Browse files Browse the repository at this point in the history
Hot fix #543 Images not loading
  • Loading branch information
tacruc authored Mar 12, 2021
2 parents 90a268e + 2bd43bc commit 639ab68
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 639ab68

Please sign in to comment.