From 014ab5d7ee2c80bfdc05e8132032bd9a32545de3 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Tue, 28 Jan 2020 14:49:34 +0200 Subject: [PATCH] Fixed PageStorage with multiple page locations --- system/src/Grav/Common/Flex/Pages/PageStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Flex/Pages/PageStorage.php b/system/src/Grav/Common/Flex/Pages/PageStorage.php index 9917ab236..c9d409e38 100644 --- a/system/src/Grav/Common/Flex/Pages/PageStorage.php +++ b/system/src/Grav/Common/Flex/Pages/PageStorage.php @@ -494,7 +494,7 @@ class PageStorage extends FolderStorage $locator = Grav::instance()['locator']; if (mb_strpos($key, '@@') === false) { $path = $this->getStoragePath($key); - $path = $path ? $locator->findResource($path, true, true) : null; + $path = $path ? $locator->findResource($path) : null; } else { $path = null; }