diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index be51865fa..e9a0e3dbf 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -1464,7 +1464,7 @@ class Page */ public function root() { - if (!$this->parent && !$this->name and !$this->visible) { + if (!$this->parent && !$this->name && !$this->visible) { return true; } else { return false;