mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 18:26:06 +02:00
Fixed PageStorage with multiple page locations
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user