diff options
Diffstat (limited to 'src/etc/inc/gwlb.inc')
-rw-r--r-- | src/etc/inc/gwlb.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc index 94794bd..f11f681 100644 --- a/src/etc/inc/gwlb.inc +++ b/src/etc/inc/gwlb.inc @@ -871,11 +871,7 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive } if ($integer_index) { - $gateways_arr_temp = array(); - foreach ($gateways_arr as $gw) { - $gateways_arr_temp[] = $gw; - } - $gateways_arr = $gateways_arr_temp; + $gateways_arr = array_values($gateways_arr); } return($gateways_arr); |