mirror of
https://github.com/getgrav/grav.git
synced 2026-07-04 12:49:06 +02:00
missed a logical operator
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user