mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit cfc51d51f5
.
This commit is contained in:
@@ -180,7 +180,7 @@ if ($format == "graph") {
|
||||
}
|
||||
if (!empty($vars['group'])) {
|
||||
$where .= " AND ( ";
|
||||
foreach (DB::table('device_group_device')->where('device_group_id', $vars['group'])->pluck('device_id') as $dev) {
|
||||
foreach (GetDevicesFromGroup($vars['group']) as $dev) {
|
||||
$where .= "device_id = ? OR ";
|
||||
$sql_param[] = $dev;
|
||||
}
|
||||
|
Reference in New Issue
Block a user