diff --git a/includes/html/api_functions.inc.php b/includes/html/api_functions.inc.php index 6493911159..ca35858461 100644 --- a/includes/html/api_functions.inc.php +++ b/includes/html/api_functions.inc.php @@ -803,7 +803,7 @@ function list_available_health_graphs() $device_id = ctype_digit($hostname) ? $hostname : getidbyname($hostname); check_device_permission($device_id); if (isset($router['type'])) { - list($dump, $type) = explode('_', $router['type']); + list($dump, $type) = explode('device_', $router['type']); } $sensor_id = $router['sensor_id'] ?: null; $graphs = array();