From 3ed1f9a62441d8cd0d53d04a9af633f9ce0924e9 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Fri, 8 Jan 2010 22:50:05 +0000 Subject: [PATCH] fix ifnamedescr in short event log (hopefully) git-svn-id: http://www.observium.org/svn/observer/trunk@623 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-event-short.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/print-event-short.inc b/html/includes/print-event-short.inc index 9755db1203..9bd1a1e649 100644 --- a/html/includes/print-event-short.inc +++ b/html/includes/print-event-short.inc @@ -18,7 +18,7 @@ if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; } $if = mysql_fetch_array(mysql_query("SELECT * from interfaces AS I, devices as D where I.device_id = D.device_id AND I.interface_id = '".$entry['interface']."'")); echo(" - " . generateiflink($if, makeshortif($if['ifDescr'])) . " + " . generateiflink($if) . " " . htmlspecialchars(truncate($entry['message'], 45))