]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/fwhosts.cgi
Forward Firewall: Fixed a bug in servicegroup-Tableview
[ipfire-2.x.git] / html / cgi-bin / fwhosts.cgi
index 1afe0cda2ea4f9e839e1769959fee82c8b3f7a5c..89b2a9321f91d124304c3835dfd13230076f2ee6 100755 (executable)
@@ -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];