diff --git a/lib/Service/GeophotoService.php b/lib/Service/GeophotoService.php index 50732b4bf..9fc19aadd 100644 --- a/lib/Service/GeophotoService.php +++ b/lib/Service/GeophotoService.php @@ -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];