mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix undefined variable (#14287)
https://flareapp.io/errors/1540406-undefined-variable-i/latest#F4
This commit is contained in:
@@ -10,6 +10,7 @@ if (empty($ports)) {
|
||||
graph_text_and_exit('No Ports');
|
||||
}
|
||||
|
||||
$i = 0;
|
||||
foreach ($ports as $port) {
|
||||
$ignore = 0;
|
||||
if (is_array(\LibreNMS\Config::get('device_traffic_iftype'))) {
|
||||
|
Reference in New Issue
Block a user