Forward Firewall: BUGFIX-CustomGroup sort order

This commit is contained in:
Alexander Marx
2013-01-31 20:52:56 +01:00
committed by Michael Tremer
parent d6bdebd47d
commit 20c00d4bdf

View File

@@ -1442,7 +1442,7 @@ sub viewtablegrp
{
print "<center><b>$Lang::tr{'fwhost empty'}</b>";
}else{
foreach my $key (sort {$a <=> $b} keys %customgrp){
foreach my $key (sort { uc($customgrp{$a}[0]) cmp uc($customgrp{$b}[0]) } sort { uc($customgrp{$a}[2]) cmp uc($customgrp{$b}[2]) } keys %customgrp){
$count++;
if ($helper ne $customgrp{$key}[0]){