mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Merge pull request #2468 from thomseddon/fix/GenGroupSQL
Remove last logical operator from generated SQL in GenGroupSQL
This commit is contained in:
@@ -46,6 +46,7 @@ function GenGroupSQL($pattern, $search='') {
|
||||
$pattern = str_replace($opt, $tmpp[0].'.'.$tmpp[1], $pattern);
|
||||
}
|
||||
}
|
||||
$pattern = substr($pattern, 0, -3);
|
||||
|
||||
$tables = array_keys(array_flip($tables));
|
||||
$x = sizeof($tables);
|
||||
|
||||
Reference in New Issue
Block a user