mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Store device group relationships in a pivot table.
This commit is contained in:
@@ -200,7 +200,7 @@ if($format == "graph") {
|
||||
$where .= " AND ( ";
|
||||
foreach( GetDevicesFromGroup($vars['group']) as $dev ) {
|
||||
$where .= "device_id = ? OR ";
|
||||
$sql_param[] = $dev['device_id'];
|
||||
$sql_param[] = $dev;
|
||||
}
|
||||
$where = substr($where, 0, strlen($where)-3);
|
||||
$where .= " )";
|
||||
|
Reference in New Issue
Block a user