From 3976e4ce2341c8d797038d9a67270a843d735b38 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 18 Feb 2015 13:12:57 -0700 Subject: [PATCH] missed a logical operator --- system/src/Grav/Common/Page/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;