diff options
Diffstat (limited to 'ui/app/controllers/CControllerRegExDelete.php')
-rw-r--r-- | ui/app/controllers/CControllerRegExDelete.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/controllers/CControllerRegExDelete.php b/ui/app/controllers/CControllerRegExDelete.php index b1feb70bed5..3afb6f762f0 100644 --- a/ui/app/controllers/CControllerRegExDelete.php +++ b/ui/app/controllers/CControllerRegExDelete.php @@ -75,12 +75,12 @@ class CControllerRegExDelete extends CController { $response = new CControllerResponseRedirect((new CUrl('zabbix.php'))->setArgument('action', 'regex.list')); if ($result) { $response->setFormData(['uncheck' => '1']); - CMessages::addSuccess(_n('Regular expression deleted', 'Regular expressions deleted', + CMessageHelper::setSuccessTitle(_n('Regular expression deleted', 'Regular expressions deleted', count($this->db_regexes) )); } else { - CMessages::addError(_n('Cannot delete regular expression', 'Cannot delete regular expressions', + CMessageHelper::setErrorTitle(_n('Cannot delete regular expression', 'Cannot delete regular expressions', count($this->db_regexes) )); } |