Skip to content

Commit

Permalink
Change message style (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 authored Dec 18, 2022
1 parent 79f208b commit ac8b221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/admin/controllers/admin/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit ac8b221

Please sign in to comment.