From 3e9f4b396e504627d8aae5f513c65f536fcf01ee Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Fri, 11 May 2018 12:06:03 -0500 Subject: [PATCH] Fix device inventory page (#8698) $device isn't global it is in the local scope. --- html/pages/device/entphysical.inc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/html/pages/device/entphysical.inc.php b/html/pages/device/entphysical.inc.php index a8a6138b35..230fe321bc 100644 --- a/html/pages/device/entphysical.inc.php +++ b/html/pages/device/entphysical.inc.php @@ -1,10 +1,8 @@ '; - printEntPhysical($ent['entPhysicalIndex'], ($level + 1), ''); + printEntPhysical($device, $ent['entPhysicalIndex'], ($level + 1), ''); echo ''; } @@ -125,7 +123,7 @@ echo "
echo "
    "; $level = '0'; $ent['entPhysicalIndex'] = '0'; -printEntPhysical($ent['entPhysicalIndex'], $level, 'liOpen'); +printEntPhysical($device, $ent['entPhysicalIndex'], $level, 'liOpen'); echo '
'; $pagetitle = 'Inventory';