Fixed the default gw messup
This commit is contained in:
@@ -26,7 +26,7 @@ foreach ($a_gateways as $i => $gateway) {
|
|||||||
$gwdescr = $gateway["descr"];
|
$gwdescr = $gateway["descr"];
|
||||||
$defaultgw = $gateway['isdefaultgw'];
|
$defaultgw = $gateway['isdefaultgw'];
|
||||||
|
|
||||||
if (!isset($gateway['isdefaultgw'])) {
|
if (isset($gateway['isdefaultgw'])) {
|
||||||
$defaultgw = "1";
|
$defaultgw = "1";
|
||||||
} else {
|
} else {
|
||||||
$defaultgw = "0";
|
$defaultgw = "0";
|
||||||
|
|||||||
Reference in New Issue
Block a user