Fix nesting level too deep error #182
This commit is contained in:
parent
1c4cadf826
commit
13377c5ba6
@ -51,7 +51,7 @@ class Root extends Directory
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->activeNode->getParents() as $parent) {
|
foreach ($this->activeNode->getParents() as $parent) {
|
||||||
if ($node == $parent) {
|
if ($node === $parent) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user