diff --git a/includes/html/table/alerts.inc.php b/includes/html/table/alerts.inc.php
index fe4969bdf4..26f5750ecb 100644
--- a/includes/html/table/alerts.inc.php
+++ b/includes/html/table/alerts.inc.php
@@ -153,7 +153,7 @@ foreach (dbFetchRows($sql, $param) as $alert) {
$severity .= ' -';
}
- $hostname = '
' . generate_device_link($alert, format_hostname($alert, shorthost($alert['hostname']))) . '
' . $fault_detail . '
';
+ $hostname = '' . generate_device_link($alert, format_hostname($alert, shorthost($alert['hostname']))) . '
' . $fault_detail . '
';
switch ($severity) {
case 'critical':
@@ -194,7 +194,7 @@ foreach (dbFetchRows($sql, $param) as $alert) {
$response[] = array(
'id' => $rulei++,
'rule' => '' . htmlentities($alert['name']) . '',
- 'details' => '',
+ 'details' => '',
'hostname' => $hostname,
'location' => generate_link($alert['location'], array('page' => 'devices', 'location' => $alert['location'])),
'timestamp' => ($alert['timestamp'] ? $alert['timestamp'] : 'N/A'),