Webui - Poller Log Link Overlib (#11819)

This commit is contained in:
SourceDoctor
2020-06-13 16:18:38 +02:00
committed by GitHub
parent a9e2ee2fb4
commit f9b746577e

View File

@@ -56,7 +56,7 @@ foreach (dbFetchRows($sql, array()) as $device) {
$device['group_name'] = 'General';
}
$response[] = array(
'hostname' => "<a class='list-device' href='".generate_device_url($device, array('tab' => 'graphs', 'group' => 'poller'))."'>".format_hostname($device).'</a>',
'hostname' => generate_device_link($device, format_hostname($device), array('tab' => 'graphs', 'group' => 'poller')),
'last_polled' => $device['last_polled'],
'poller_group' => $device['group_name'],
'last_polled_timetaken' => round($device['last_polled_timetaken'], 2),