Merge pull request #2475 from librenms/revert-2468-fix/GenGroupSQL

This commit is contained in:
Neil Lathwood
2015-11-21 09:11:13 +00:00

View File

@@ -46,7 +46,6 @@ 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);