From 1a42c04c8e6ae41197ab4103e277665ac3049fc2 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 4 Sep 2015 13:47:17 +0200 Subject: [PATCH] NavigationItem: Fix locating a module's custom navigation renderer refs #5600 --- library/Icinga/Web/Navigation/NavigationItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Navigation/NavigationItem.php b/library/Icinga/Web/Navigation/NavigationItem.php index 9b7e5e8fa..213eead3c 100644 --- a/library/Icinga/Web/Navigation/NavigationItem.php +++ b/library/Icinga/Web/Navigation/NavigationItem.php @@ -614,7 +614,7 @@ class NavigationItem implements IteratorAggregate $renderer = null; foreach (Icinga::app()->getModuleManager()->getLoadedModules() as $module) { - $classPath = 'Icinga\\Module\\' . $module->getName() . '\\' . static::RENDERER_NS . '\\' . $name; + $classPath = 'Icinga\\Module\\' . ucfirst($module->getName()) . '\\' . static::RENDERER_NS . '\\' . $name; if (class_exists($classPath)) { $renderer = new $classPath($options); break;