summaryrefslogtreecommitdiff
path: root/httemplate/elements/bill.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-08-04 11:16:41 -0700
committerMark Wells <mark@freeside.biz>2015-08-04 11:51:19 -0700
commit1d091fcec0fb8a78fe5b6a640c67a17a85c06092 (patch)
treea127fef456454685b2d1ca6e80b9cda1e24e2a45 /httemplate/elements/bill.html
parentd9001528ce9202171e228cf30d66bd1d09e6f019 (diff)
de-randomization fixes for testing, #37340
Diffstat (limited to 'httemplate/elements/bill.html')
-rw-r--r--httemplate/elements/bill.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/bill.html b/httemplate/elements/bill.html
index 64a1a6d2c..420a7489b 100644
--- a/httemplate/elements/bill.html
+++ b/httemplate/elements/bill.html
@@ -45,7 +45,7 @@ my $label = $opt{'label'};
# formname no longer needs to be passed from outside, but we still
# need one and it needs to be unique
my $formname = $opt{'formname'} ||
- 'bill'.sprintf('%04d',int(rand(10000))).$custnum;
+ 'bill'.sprintf('%04d',random_id(4)).$custnum;
my $url = $opt{'url'} || '';
my $message = $opt{'message'} || 'Finished!';
my $bill_opts = $opt{'bill_opts'} || {};