From 2c8ba538b8da9bfd9b1c7a34b8935a65a6aba5c0 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Mon, 11 Apr 2016 13:36:55 -0700 Subject: [PATCH 1/3] 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.'
'; From 699c407072c289720276b77c11d884d01ae66d15 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Mon, 11 Apr 2016 13:45:58 -0700 Subject: [PATCH 2/3] Fix javascript bug with repeating sensors icon on devices page --- html/includes/table/devices.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/table/devices.inc.php b/html/includes/table/devices.inc.php index dc7d409d6..e84c5dfdd 100644 --- a/html/includes/table/devices.inc.php +++ b/html/includes/table/devices.inc.php @@ -207,7 +207,7 @@ foreach (dbFetchRows($sql, $param) as $device) { $hostname .= '
'.$device['sysName']; if (empty($port_count)) { $port_count = 0; - $col_port = ''; + $col_port = ''; } if ($port_count) { $col_port = ' '.$port_count.'
'; From 05613157d8a2e3c50a1dfd7b97beae64b5bab319 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Mon, 11 Apr 2016 13:50:20 -0700 Subject: [PATCH 3/3] I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index 1c1734482..26bf5774e 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -95,6 +95,7 @@ LibreNMS contributors: - Guillaume Coeugnet (gcoeugnet) - Jared Newell (Jaredn) - Karsten Nerdinger (piratonym) +- Michael Nguyen (mnguyen1289) [1]: http://observium.org/ "Observium web site" Observium was written by: