diff options
Diffstat (limited to 'ui/app/controllers/CControllerTrigDisplayUpdate.php')
-rw-r--r-- | ui/app/controllers/CControllerTrigDisplayUpdate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerTrigDisplayUpdate.php b/ui/app/controllers/CControllerTrigDisplayUpdate.php index 97659130c59..0e2220aae03 100644 --- a/ui/app/controllers/CControllerTrigDisplayUpdate.php +++ b/ui/app/controllers/CControllerTrigDisplayUpdate.php @@ -92,7 +92,7 @@ class CControllerTrigDisplayUpdate extends CController { $names = []; for ($i = 0; $i < TRIGGER_SEVERITY_COUNT; $i++) { $severity_name = 'severity_name_'.$i; - + if (isset($names[$this->getInput($severity_name)])) { error(_s('Duplicate severity name "%1$s".', $this->getInput($severity_name))); $ret = false; |