mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
config: Fix missing module name in failing dis-/enable actions
This commit is contained in:
parent
28c7c41b55
commit
05d74dd980
@ -168,7 +168,7 @@ class ConfigController extends Controller
|
||||
$form->handleRequest();
|
||||
} catch (Exception $e) {
|
||||
$this->view->exceptionMessage = $e->getMessage();
|
||||
$this->view->moduleName = $form->getValue('name');
|
||||
$this->view->moduleName = $form->getValue('identifier');
|
||||
$this->view->action = 'enable';
|
||||
$this->render('module-configuration-error');
|
||||
}
|
||||
@ -194,7 +194,7 @@ class ConfigController extends Controller
|
||||
$form->handleRequest();
|
||||
} catch (Exception $e) {
|
||||
$this->view->exceptionMessage = $e->getMessage();
|
||||
$this->view->moduleName = $form->getValue('name');
|
||||
$this->view->moduleName = $form->getValue('identifier');
|
||||
$this->view->action = 'disable';
|
||||
$this->render('module-configuration-error');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user