From ac8b2217c6b653ec001f9aaa04c7ead458755e54 Mon Sep 17 00:00:00 2001 From: blackcoder87 Date: Sun, 18 Dec 2022 17:24:46 +0100 Subject: [PATCH] Change message style (#611) --- application/modules/admin/controllers/admin/Modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/modules/admin/controllers/admin/Modules.php b/application/modules/admin/controllers/admin/Modules.php index d0184cdd7..74dce1d50 100644 --- a/application/modules/admin/controllers/admin/Modules.php +++ b/application/modules/admin/controllers/admin/Modules.php @@ -312,7 +312,7 @@ public function localUpdateAction() $moduleMapper->updateVersion($key, $config->config['version']); $this->addMessage('updateSuccess'); } catch (\Exception $e) { - $this->addMessage('moduleUpdateFailed'); + $this->addMessage('moduleUpdateFailed', 'danger'); } finally { if ($this->getRequest()->getPost('gotokey')) { $this->redirect(['action' => $this->getRequest()->getParam('from'), 'anchor' => '#Module_' . $key]);