mirror of
https://github.com/getgrav/grav.git
synced 2026-02-22 06:28:03 +01: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