diff --git a/libraries/classes/Navigation/Nodes/Node.php b/libraries/classes/Navigation/Nodes/Node.php index 3d68f657c431..b2fd6d8db17b 100644 --- a/libraries/classes/Navigation/Nodes/Node.php +++ b/libraries/classes/Navigation/Nodes/Node.php @@ -168,7 +168,7 @@ public function getChild($name, $realName = false) } } else { foreach ($this->children as $child) { - if ($child->name == $name) { + if ($child->name == $name && $child->isNew === false) { return $child; } }