From bee7a89e493bfc3df033b40b08ab9547ff40bb25 Mon Sep 17 00:00:00 2001 From: Arne Hamann Date: Wed, 22 Jan 2020 10:53:05 +0100 Subject: [PATCH] Attemp to fix #261 Signed-off-by: Arne Hamann --- lib/Service/PhotofilesService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/PhotofilesService.php b/lib/Service/PhotofilesService.php index 7eb8124f4..0e6cbe0ba 100644 --- a/lib/Service/PhotofilesService.php +++ b/lib/Service/PhotofilesService.php @@ -317,7 +317,7 @@ private function gatherPhotoFiles ($folder, $recursive) { // we don't explore external storages for which previews are disabled if ($node->isMounted()) { $options = $node->getMountPoint()->getOptions(); - if (!$options['previews']) { + if (!(array_key_exists('previews', $options) && $options['previews'])) { continue; } }