mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-13 16:06:29 +02:00
Strip && and || from query for alerts in polling
This commit is contained in:
@@ -47,6 +47,9 @@ function GenGroupSQL($pattern, $search='') {
|
||||
}
|
||||
}
|
||||
|
||||
$pattern = rtrim($pattern, '&&');
|
||||
$pattern = rtrim($pattern, '||');
|
||||
|
||||
$tables = array_keys(array_flip($tables));
|
||||
$x = sizeof($tables);
|
||||
$i = 0;
|
||||
|
||||
Reference in New Issue
Block a user