From: Alexander Marx Date: Sun, 27 Jan 2013 12:20:33 +0000 (+0100) Subject: Forward Firewall: Fixed a bug in servicegroup-Tableview X-Git-Tag: v2.15-beta1~286^2~11^2~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85dc70c746cd8fe0b602c0e98f2cc4b2232507ec;p=ipfire-2.x.git Forward Firewall: Fixed a bug in servicegroup-Tableview --- diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 1afe0cda2e..89b2a9321f 100755 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -1542,7 +1542,7 @@ sub viewtableservicegrp &Header::openbox('100%', 'left', $Lang::tr{'fwhost cust srvgrp'}); &General::readhasharray("$configsrvgrp", \%customservicegrp); my $number= keys %customservicegrp; - foreach my $key (sort { uc($customservicegrp{$a}[2]) cmp uc($customservicegrp{$b}[2]) } keys %customservicegrp){ + foreach my $key (sort {$a <=> $b} keys %customservicegrp){ $count++; if ($helper ne $customservicegrp{$key}[0]){ $grpname=$customservicegrp{$key}[0];