From 2c8ba538b8da9bfd9b1c7a34b8935a65a6aba5c0 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Mon, 11 Apr 2016 13:36:55 -0700 Subject: [PATCH] Fix javascript bug with repeating sensors icon on devices page --- html/includes/table/devices.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/includes/table/devices.inc.php b/html/includes/table/devices.inc.php index 55084b97e..dc7d409d6 100644 --- a/html/includes/table/devices.inc.php +++ b/html/includes/table/devices.inc.php @@ -207,6 +207,7 @@ foreach (dbFetchRows($sql, $param) as $device) { $hostname .= '
'.$device['sysName']; if (empty($port_count)) { $port_count = 0; + $col_port = ''; } if ($port_count) { $col_port = ' '.$port_count.'
';