diff --git a/pandora_console/include/rest-api/models/VisualConsole/Container.php b/pandora_console/include/rest-api/models/VisualConsole/Container.php index 017187baa5..5b424491ca 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Container.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Container.php @@ -340,6 +340,7 @@ final class Container extends Model // Override the filter if the groups filter is not empty. if (count($groupsFilter) > 0) { // Filter group for elements groups. + $filter = []; $filter[] = \db_format_array_where_clause_sql( [ 'id_layout' => $layoutId,