diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-09-06 10:29:40 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-09-06 10:29:40 -0700 |
commit | d2d82863f354790d1eb3ee1d3b193d2e423ae8d0 (patch) | |
tree | 58501ce5c9179a523ff90f81b83d6c9138c8b2e8 | |
parent | 228d0171b07879ce7a585c87aa5580237df74842 (diff) |
display usage fields in deterministic order
-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 302968ccd..a1fcd1f72 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -311,11 +311,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') ) { |