From 13377c5ba6362c0350a63fbbff4499d057c86734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Sun, 29 Dec 2019 22:40:34 +0100 Subject: [PATCH] Fix nesting level too deep error #182 --- libs/Tree/Root.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Tree/Root.php b/libs/Tree/Root.php index 4148987..d0235a9 100644 --- a/libs/Tree/Root.php +++ b/libs/Tree/Root.php @@ -51,7 +51,7 @@ class Root extends Directory } foreach ($this->activeNode->getParents() as $parent) { - if ($node == $parent) { + if ($node === $parent) { return true; } }