mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
Now save the connection value selected and remove when not needed
This commit is contained in:
@@ -23,8 +23,6 @@ $desc = mres($_POST['desc']);
|
||||
|
||||
if( is_array($pattern) ) {
|
||||
$pattern = implode(" ", $pattern);
|
||||
$pattern = rtrim($pattern,'&&');
|
||||
$pattern = rtrim($pattern,'||');
|
||||
} elseif( !empty($_POST['pattern']) && !empty($_POST['condition']) && !empty($_POST['value']) ) {
|
||||
$pattern = '%'.$_POST['pattern'].' '.$_POST['condition'].' ';
|
||||
if( is_numeric($_POST['value']) ) {
|
||||
|
||||
Reference in New Issue
Block a user