diff --git a/includes/html/table/poll-log.inc.php b/includes/html/table/poll-log.inc.php
index cb4efe1720..f3439af02b 100644
--- a/includes/html/table/poll-log.inc.php
+++ b/includes/html/table/poll-log.inc.php
@@ -56,7 +56,7 @@ foreach (dbFetchRows($sql, array()) as $device) {
$device['group_name'] = 'General';
}
$response[] = array(
- 'hostname' => " 'graphs', 'group' => 'poller'))."'>".format_hostname($device).'',
+ '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),