fix: incorrect hostname in the mouse-over of the services in the availability-map #5734

This commit is contained in:
Robert Verspuy
2017-02-02 17:57:42 +01:00
committed by Neil Lathwood
parent cb5dd299af
commit 27417f72ad

View File

@@ -295,7 +295,7 @@ if (defined('SHOW_SETTINGS')) {
$serviceLabel .= ' widget-availability-fixed';
}
$temp_output[] = '
<a href="' . generate_url(array('page' => 'device', 'tab' => 'services', 'device' => $service['device_id'])) . '" title="' . shorthost(ip_to_sysname($device, $device['hostname'])) . " - " . $service['service_type'] . " - " . $service['service_desc'] . '">
<a href="' . generate_url(array('page' => 'device', 'tab' => 'services', 'device' => $service['device_id'])) . '" title="' . shorthost(ip_to_sysname($service, $service['hostname'])) . " - " . $service['service_type'] . " - " . $service['service_desc'] . '">
<span class="label ' . $serviceLabel . ' widget-availability label-font-border">' . $serviceText . '</span>
</a>';
}