diff --git a/includes/html/table/arp-search.inc.php b/includes/html/table/arp-search.inc.php
index f6dfd6e3bc..1de5f8517c 100644
--- a/includes/html/table/arp-search.inc.php
+++ b/includes/html/table/arp-search.inc.php
@@ -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, "", 'port_errors');
} else {