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…
Reference in New Issue