Updated query and color for 0% links

This commit is contained in:
laf
2015-04-17 20:15:31 +01:00
parent d26e282834
commit 5f076fe63e
2 changed files with 3 additions and 3 deletions

View File

@@ -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';
}