mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed array_unique key issue for alerts
This commit is contained in:
@@ -38,7 +38,7 @@ function GenSQL($rule) {
|
||||
$rule = str_replace($opt,$tmpp[0].'.'.$tmpp[1],$rule);
|
||||
}
|
||||
}
|
||||
$tables = array_unique($tables);
|
||||
$tables = array_keys(array_flip($tables));
|
||||
$x = sizeof($tables);
|
||||
$i = 0;
|
||||
$join = "";
|
||||
|
Reference in New Issue
Block a user