From e7ca817e81bbab208ff91eb50a219159d6abbf3d Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 20 Nov 2017 19:11:16 +0100 Subject: [PATCH] Make Navigation::findItem() public We need this method public for the navigation dashbaord. --- library/Icinga/Web/Navigation/Navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Navigation/Navigation.php b/library/Icinga/Web/Navigation/Navigation.php index 3371d6c00..a7a15849c 100644 --- a/library/Icinga/Web/Navigation/Navigation.php +++ b/library/Icinga/Web/Navigation/Navigation.php @@ -363,7 +363,7 @@ class Navigation implements ArrayAccess, Countable, IteratorAggregate * * @return NavigationItem */ - protected function findItem($name) + public function findItem($name) { $item = $this->getItem($name); if ($item !== null) {