mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Forward Firewall: BUGFIX-CustomGroup sort order
This commit is contained in:
committed by
Michael Tremer
parent
d6bdebd47d
commit
20c00d4bdf
@@ -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]){
|
||||
|
||||
Reference in New Issue
Block a user