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:
parent
c8103f175d
commit
993f6c7d91
@ -18,7 +18,7 @@ foreach ($gw_array as $gw => $gateway) {
|
|||||||
$stddev = $gw_statuses[$gw]["stddev"];
|
$stddev = $gw_statuses[$gw]["stddev"];
|
||||||
$loss = $gw_statuses[$gw]["loss"];
|
$loss = $gw_statuses[$gw]["loss"];
|
||||||
$status = $gw_statuses[$gw]["status"];
|
$status = $gw_statuses[$gw]["status"];
|
||||||
$substatus = $gw_statuses[$gw]["substatus"];
|
$substatus;
|
||||||
|
|
||||||
$interface = $gateway["interface"];
|
$interface = $gateway["interface"];
|
||||||
$friendlyname = $gateway["friendlyiface"]; # This is not the friendly interface name so I'm not using it
|
$friendlyname = $gateway["friendlyiface"]; # This is not the friendly interface name so I'm not using it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user