missed a logical operator

This commit is contained in:
Andy Miller
2015-02-18 13:12:57 -07:00
parent a1ab94ffdd
commit 3976e4ce23

View File

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