mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
empty, not empty (#14304)
This commit is contained in:
@@ -66,7 +66,7 @@ $sql = "SELECT *,`P`.`ifDescr` AS `interface` $sql";
|
||||
|
||||
foreach (dbFetchRows($sql, $param) as $entry) {
|
||||
$entry = cleanPort($entry);
|
||||
if (! empty($ignore)) {
|
||||
if (empty($ignore)) {
|
||||
if ($entry['ifInErrors'] > 0 || $entry['ifOutErrors'] > 0) {
|
||||
$error_img = generate_port_link($entry, "<i class='fa fa-flag fa-lg' style='color:red' aria-hidden='true'></i>", 'port_errors');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user