Fix undefined variable (#14287)

https://flareapp.io/errors/1540406-undefined-variable-i/latest#F4
This commit is contained in:
Tony Murray
2022-09-05 11:12:43 -05:00
committed by GitHub
parent 14799ecdd3
commit 4614183cca

View File

@@ -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'))) {