Fixed PageStorage with multiple page locations

This commit is contained in:
Matias Griese
2020-01-28 14:49:34 +02:00
parent 64f3949967
commit 014ab5d7ee

View File

@@ -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;
}