summaryrefslogtreecommitdiff
path: root/httemplate/elements/pickcolor.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:52:57 -0700
commitce1a26f5033acf26ccf0c922b2fc43cc2baa2bb9 (patch)
treee146ac70e272749658fe146e522931ad83a79269 /httemplate/elements/pickcolor.html
parent908d425750365b7a2bf59334ccfc41adc9d61a17 (diff)
de-randomization fixes for testing, #37340
Conflicts: FS/FS/Conf.pm
Diffstat (limited to 'httemplate/elements/pickcolor.html')
-rw-r--r--httemplate/elements/pickcolor.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/pickcolor.html b/httemplate/elements/pickcolor.html
index d410ebfc7..2b0647fbf 100644
--- a/httemplate/elements/pickcolor.html
+++ b/httemplate/elements/pickcolor.html
@@ -38,7 +38,7 @@ my %opt = @_;
my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value};
-my $unum = int(rand(100000));
+my $unum = random_id(5);
my $id = $opt{'id'} || $opt{'field'}.$unum;