mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix NOT REGEXP rules (#8376)
* Fix NOT REGEXP rules * not_regex -> not regex * Fixed saving rules as well
This commit is contained in:
@@ -91,7 +91,7 @@ if (is_numeric($rule_id) && $rule_id > 0) {
|
||||
'alert_rules',
|
||||
'id=?',
|
||||
array($rule_id)
|
||||
) > 0) {
|
||||
) >= 0) {
|
||||
$message = "Edited Rule: <i>$name</i>";
|
||||
} else {
|
||||
$message = "Failed to edit Rule <i>$name</i>";
|
||||
|
Reference in New Issue
Block a user