From c3115eb947efbe2651d823cd7eb0342d797dc4af Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 10 Jun 2015 11:19:41 +0100 Subject: [PATCH] Added disabled ports back in --- html/pages/device/ports.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pages/device/ports.inc.php b/html/pages/device/ports.inc.php index a3d2ee0a02..df7c691d6f 100644 --- a/html/pages/device/ports.inc.php +++ b/html/pages/device/ports.inc.php @@ -95,7 +95,7 @@ if ($vars['view'] == 'minigraphs') global $port_cache, $port_index_cache; - $ports = dbFetchRows("SELECT * FROM `ports` WHERE `device_id` = ? AND `deleted` = '0' AND `disabled` = 0 ORDER BY `ifIndex` ASC", array($device['device_id'])); + $ports = dbFetchRows("SELECT * FROM `ports` WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `ifIndex` ASC", array($device['device_id'])); // As we've dragged the whole database, lets pre-populate our caches :) // FIXME - we should probably split the fetching of link/stack/etc into functions and cache them here too to cut down on single row queries. foreach ($ports as $port)