summaryrefslogtreecommitdiff
path: root/app/Services/MediaFileService.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Services/MediaFileService.php')
-rw-r--r--app/Services/MediaFileService.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Services/MediaFileService.php b/app/Services/MediaFileService.php
index 4a084bf638..e0667a97fa 100644
--- a/app/Services/MediaFileService.php
+++ b/app/Services/MediaFileService.php
@@ -354,6 +354,7 @@ class MediaFileService
$media_roots = DB::table('gedcom_setting')
->where('setting_name', '=', 'MEDIA_DIRECTORY')
+ ->where('gedcom_id', '>', '0')
->pluck('setting_value')
->uniqueStrict();