Merge pull request #2476 from laf/device-groups

Strip && and || from query for alerts in polling
This commit is contained in:
Daniel Preussker
2015-11-21 10:20:46 +00:00
+3
View File
@@ -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;