diff --git a/pandora_console/include/lib/Dashboard/Widgets/events_list.php b/pandora_console/include/lib/Dashboard/Widgets/events_list.php index 76f00ddb0f..9539e9a12f 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/events_list.php +++ b/pandora_console/include/lib/Dashboard/Widgets/events_list.php @@ -584,7 +584,7 @@ class EventsListWidget extends Widget if (in_array('0', $this->values['groupId'])) { $filter['id_group_filter'] = 0; } else { - $filter['id_group_filter'] = $this->values['groupId']; + $filter['id_group_filter'] = (!empty($this->values['groupId'][0])) ? $this->values['groupId'] : 0; } $filter['tag_with'] = base64_encode(