diff options
author | Mark Wells <mark@freeside.biz> | 2015-08-04 11:16:41 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-08-04 11:51:19 -0700 |
commit | 1d091fcec0fb8a78fe5b6a640c67a17a85c06092 (patch) | |
tree | a127fef456454685b2d1ca6e80b9cda1e24e2a45 /httemplate/graph | |
parent | d9001528ce9202171e228cf30d66bd1d09e6f019 (diff) |
de-randomization fixes for testing, #37340
Diffstat (limited to 'httemplate/graph')
-rw-r--r-- | httemplate/graph/elements/report.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/graph/elements/report.html b/httemplate/graph/elements/report.html index cffc82816..f1b0d166d 100644 --- a/httemplate/graph/elements/report.html +++ b/httemplate/graph/elements/report.html @@ -331,7 +331,7 @@ if ( $cgi->param('session') =~ /^(\d+)$/ ) { %opt = %{ $m->cache->get($session) }; } else { - $session = sprintf("%010d%06d", time, int(rand(1000000))); + $session = sprintf("%010d", random_id(10)); $m->cache->set($session, \%opt, '1h'); } |