From 3a1992d481231bf6cbe4e1962cb9972b241ebf08 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Thu, 18 Jun 2020 09:10:28 -0500 Subject: [PATCH] Fix Cisco Crossbar overview It relied on a global variable that wasn't set anymore. --- includes/html/pages/device/overview/c6kxbar.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/html/pages/device/overview/c6kxbar.inc.php b/includes/html/pages/device/overview/c6kxbar.inc.php index 4d3b4e917b..8a08f6a2ff 100644 --- a/includes/html/pages/device/overview/c6kxbar.inc.php +++ b/includes/html/pages/device/overview/c6kxbar.inc.php @@ -10,6 +10,7 @@ echo ' C echo ' '; +$entity_state = get_dev_entity_state($device['device_id']); foreach ($entity_state['group']['c6kxbar'] as $index => $entry) { // FIXME i'm not sure if this is the correct way to decide what entphysical index it is. slotnum+1? :> $entity = dbFetchRow('SELECT * FROM entPhysical WHERE device_id = ? AND entPhysicalIndex = ?', array($device['device_id'], $index + 1));