config: Fix missing module name in failing dis-/enable actions

This commit is contained in:
Johannes Meyer 2020-11-13 11:15:02 +01:00
parent 28c7c41b55
commit 05d74dd980
1 changed files with 2 additions and 2 deletions

View File

@ -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');
} }