mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +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();
|
$form->handleRequest();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->view->exceptionMessage = $e->getMessage();
|
$this->view->exceptionMessage = $e->getMessage();
|
||||||
$this->view->moduleName = $form->getValue('name');
|
$this->view->moduleName = $form->getValue('identifier');
|
||||||
$this->view->action = 'enable';
|
$this->view->action = 'enable';
|
||||||
$this->render('module-configuration-error');
|
$this->render('module-configuration-error');
|
||||||
}
|
}
|
||||||
@ -194,7 +194,7 @@ class ConfigController extends Controller
|
|||||||
$form->handleRequest();
|
$form->handleRequest();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->view->exceptionMessage = $e->getMessage();
|
$this->view->exceptionMessage = $e->getMessage();
|
||||||
$this->view->moduleName = $form->getValue('name');
|
$this->view->moduleName = $form->getValue('identifier');
|
||||||
$this->view->action = 'disable';
|
$this->view->action = 'disable';
|
||||||
$this->render('module-configuration-error');
|
$this->render('module-configuration-error');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user