mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix javascript bug with repeating sensors icon on devices page
This commit is contained in:
@ -207,6 +207,7 @@ foreach (dbFetchRows($sql, $param) as $device) {
|
|||||||
$hostname .= '<br />'.$device['sysName'];
|
$hostname .= '<br />'.$device['sysName'];
|
||||||
if (empty($port_count)) {
|
if (empty($port_count)) {
|
||||||
$port_count = 0;
|
$port_count = 0;
|
||||||
|
$col_port = '';
|
||||||
}
|
}
|
||||||
if ($port_count) {
|
if ($port_count) {
|
||||||
$col_port = ' <img src="images/icons/port.png" align=absmiddle /> '.$port_count.'<br />';
|
$col_port = ' <img src="images/icons/port.png" align=absmiddle /> '.$port_count.'<br />';
|
||||||
|
Reference in New Issue
Block a user