diff --git a/includes/html/print-interface.inc.php b/includes/html/print-interface.inc.php index acb1fd22ff..040a9400d8 100644 --- a/includes/html/print-interface.inc.php +++ b/includes/html/print-interface.inc.php @@ -204,7 +204,7 @@ echo ''; $neighborsCount = 0; $nbLinks = 0; $int_links = []; -if (strpos($port['label'], 'oopback') === false && ! empty($graph_type)) { +if (strpos($port['label'], 'oopback') === false && empty($graph_type)) { foreach (dbFetchRows('SELECT * FROM `links` AS L, `ports` AS I, `devices` AS D WHERE L.local_port_id = ? AND L.remote_port_id = I.port_id AND I.device_id = D.device_id', [$if_id]) as $link) { $int_links[$link['port_id']] = $link['port_id']; $int_links_phys[$link['port_id']] = 1;