mirror of
https://github.com/getgrav/grav.git
synced 2026-07-05 20:28:10 +02:00
Fix for recalcitrant CodeKit
This commit is contained in:
@@ -1264,7 +1264,7 @@ class Page
|
||||
if ($this->home()) {
|
||||
$paths = $uri->paths();
|
||||
$home = ltrim($config->get('system.home.alias'), '/');
|
||||
if ($paths[0] == $home) {
|
||||
if (isset($paths[0]) && $paths[0] == $home) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user