mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated query and color for 0% links
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
|
||||
$tmp_devices = array();
|
||||
if (!empty($device['hostname'])) {
|
||||
$sql = ' WHERE `devices`.`hostname`=? OR `remote_hostname`=?';
|
||||
$sql_array = array($device['hostname'],$device['hostname']);
|
||||
$sql = ' WHERE `devices`.`hostname`=?';
|
||||
$sql_array = array($device['hostname']);
|
||||
} else {
|
||||
$sql = ' WHERE 1';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user