Skip to content

Commit

Permalink
Add addtional information to nonlocalized Photos
Browse files Browse the repository at this point in the history
Signed-off-by: Arne Hamann <[email protected]>
  • Loading branch information
tacruc committed Mar 23, 2022
1 parent aeafd50 commit 1c21774
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Service/GeophotoService.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public function getNonLocalizedFromDB ($userId) {
foreach ($locations as $location) {
$file_object = new \stdClass();
$file_object->fileId = $photoEntity->getFileId();
$file_object->fileid = $file_object->fileId;
$file_object->path = $this->normalizePath($path);
$file_object->hasPreview = in_array($cacheEntry->getMimeType(), $previewEnableMimetypes);
$file_object->lat = $location[0];
Expand Down

0 comments on commit 1c21774

Please sign in to comment.