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