variable scope

I have no idea how scope works in PHP but if I'm using it globally, I want to declare it.
This commit is contained in:
VictorRobellini 2021-04-27 09:54:04 -04:00 committed by GitHub
parent c8103f175d
commit 993f6c7d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ foreach ($gw_array as $gw => $gateway) {
$stddev = $gw_statuses[$gw]["stddev"];
$loss = $gw_statuses[$gw]["loss"];
$status = $gw_statuses[$gw]["status"];
$substatus = $gw_statuses[$gw]["substatus"];
$substatus;
$interface = $gateway["interface"];
$friendlyname = $gateway["friendlyiface"]; # This is not the friendly interface name so I'm not using it