mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
NavigationConfigForm: Fix Variable '$classPath' is probably undefined
This commit is contained in:
parent
c501e3e2e1
commit
143347634f
@ -815,6 +815,7 @@ class NavigationConfigForm extends ConfigForm
|
|||||||
$className = StringHelper::cname($type, '-') . 'Form';
|
$className = StringHelper::cname($type, '-') . 'Form';
|
||||||
|
|
||||||
$form = null;
|
$form = null;
|
||||||
|
$classPath = null;
|
||||||
foreach (Icinga::app()->getModuleManager()->getLoadedModules() as $module) {
|
foreach (Icinga::app()->getModuleManager()->getLoadedModules() as $module) {
|
||||||
$classPath = 'Icinga\\Module\\'
|
$classPath = 'Icinga\\Module\\'
|
||||||
. ucfirst($module->getName())
|
. ucfirst($module->getName())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user