From ab6de0180bbd4fb2dc0e47670cc8d2d1bf9c565a Mon Sep 17 00:00:00 2001 From: f0o Date: Thu, 23 Apr 2015 15:29:34 +0000 Subject: [PATCH] Removed generate_entity_link --- html/includes/table/alerts.inc.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/html/includes/table/alerts.inc.php b/html/includes/table/alerts.inc.php index 19ec6ccbcc..46e5ddb0cc 100644 --- a/html/includes/table/alerts.inc.php +++ b/html/includes/table/alerts.inc.php @@ -47,14 +47,9 @@ foreach (dbFetchRows($sql,$param) as $alert) { if( substr($tmp,-5,1) != ">" ) { $fault_detail .= $tmp; } else { - $tmp = generate_entity_link($tmp_alerts); - if( !empty($tmp) ) { - $fault_detail .= $tmp; - } else { - foreach ($tmp_alerts as $k=>$v) { - if (!empty($v) && $k != 'device_id' && (stristr($k,'id') || stristr($k,'desc')) && substr_count($k,'_') <= 1) { - $fault_detail .= "$k => '$v', "; - } + foreach ($tmp_alerts as $k=>$v) { + if (!empty($v) && $k != 'device_id' && (stristr($k,'id') || stristr($k,'desc')) && substr_count($k,'_') <= 1) { + $fault_detail .= "$k => '$v', "; } $fault_detail = rtrim($fault_detail,", "); }