diff options
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index d564e69..83f5edc 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -338,6 +338,8 @@ function return_gateway_groups_array() { } } } + /* sort the tiers array by the tier key */ + ksort($tiers); /* we do not really foreach the tiers as we stop after the first tier */ foreach($tiers as $tiernr => $tier) { /* process all gateways in this tier */ |