diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-09-06 10:29:36 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-09-06 10:29:36 -0700 |
commit | 962cf31c328dddb11b3fa6af37ae3c31d4c67e7d (patch) | |
tree | bcffaa0cbe094fc0ab5fb1a427a018214f565bfa /httemplate/edit/svc_acct.cgi | |
parent | 00f6a05e148ee90f04c9f38830cf9f1f601ab041 (diff) |
display usage fields in deterministic order
Diffstat (limited to 'httemplate/edit/svc_acct.cgi')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 7be5eabb7..27ea3c5ea 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -310,11 +310,11 @@ % } % } -% my %label = ( seconds => 'Time', -% upbytes => 'Upload bytes', -% downbytes => 'Download bytes', -% totalbytes => 'Total bytes', -% ); +% tie my %label, 'Tie::IxHash', seconds => 'Time', +% upbytes => 'Upload bytes', +% downbytes => 'Download bytes', +% totalbytes => 'Total bytes', +% ; % foreach my $uf (keys %label) { % my $tf = $uf . "_threshold"; % if ( $curuser->access_right('Edit usage') ) { |