diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-09-06 10:29:38 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2017-09-06 10:29:38 -0700 |
| commit | 72f91c20c1bd2690e17e1bc44e99fefb219ec8d2 (patch) | |
| tree | f018bfe550940149fef46445f19a129588c96811 /httemplate/edit | |
| parent | cd5f689af969136fb11b017917a0d75aa0fb7808 (diff) | |
display usage fields in deterministic order
Diffstat (limited to 'httemplate/edit')
| -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') ) { |
