From ce1a26f5033acf26ccf0c922b2fc43cc2baa2bb9 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 4 Aug 2015 11:16:41 -0700 Subject: de-randomization fixes for testing, #37340 Conflicts: FS/FS/Conf.pm --- httemplate/elements/bill.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/elements/bill.html') 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'} || {}; -- cgit v1.2.1