Fix for recalcitrant CodeKit

This commit is contained in:
Andy Miller
2015-01-04 14:25:39 -07:00
parent 15113d0acb
commit e8b7b40535

View File

@@ -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 {