diff --git a/www/include/monitoring/status/Services/xml/serviceSummaryXML.php b/www/include/monitoring/status/Services/xml/serviceSummaryXML.php index 2fa9373dfbf..f5d90fe0611 100644 --- a/www/include/monitoring/status/Services/xml/serviceSummaryXML.php +++ b/www/include/monitoring/status/Services/xml/serviceSummaryXML.php @@ -61,7 +61,7 @@ $limit = filter_input(INPUT_GET, 'limit', FILTER_VALIDATE_INT, array('options' => array('default' => 20))); //if instance value is not set, displaying all active pollers linked resources $instance = filter_var($obj->defaultPoller ?? -1, FILTER_VALIDATE_INT); -$hostgroups = filter_var($obj->defaultPoller ?? 0, FILTER_VALIDATE_INT); +$hostgroups = filter_var($obj->defaultHostgroups ?? 0, FILTER_VALIDATE_INT); $search = filter_input(INPUT_GET, 'search', FILTER_SANITIZE_STRING, array('options' => array('default' => ''))); $sort_type = filter_input( INPUT_GET,