mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 08:03:51 +02:00
Added response to modal form when an error occurs
This commit is contained in:
@@ -27,7 +27,7 @@ $invert = mres($_POST['invert']);
|
||||
$name = mres($_POST['name']);
|
||||
|
||||
if(empty($rule)) {
|
||||
$update_message = "ERROR: No rule was generated";
|
||||
$update_message = "ERROR: No rule was generated - did you forget to click and / or?";
|
||||
} elseif(validate_device_id($_POST['device_id']) || $_POST['device_id'] == '-1' || $_POST['device_id'][0] == ':') {
|
||||
$device_id = $_POST['device_id'];
|
||||
if(!is_numeric($count)) {
|
||||
|
||||
Reference in New Issue
Block a user