Skip to content

Commit c2f63d7

Browse files
committed
Fix cisco-cef undefined variable
1 parent 515201e commit c2f63d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/polling/cisco-cef.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
$polled = time();
88

99
$cefs_query = dbFetchRows('SELECT * FROM `cef_switching` WHERE `device_id` = ?', [$device['device_id']]);
10+
$cefs_db = [];
1011
foreach ($cefs_query as $ceftmp) {
1112
$cef_id = $device['device_id'] . '-' . $ceftmp['entPhysicalIndex'] . '-' . $ceftmp['afi'] . '-' . $ceftmp['cef_index'];
1213
$cefs_db[$cef_id] = $ceftmp['cef_switching_id'];

0 commit comments

Comments
 (0)