]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Forward Firewall: Fixed a bug in servicegroup-Tableview
authorAlexander Marx <amarx@ipfire.org>
Sun, 27 Jan 2013 12:20:33 +0000 (13:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:08:15 +0000 (14:08 +0200)
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];