X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fgraph%2Felements%2Freport.html;fp=httemplate%2Fgraph%2Felements%2Freport.html;h=f1b0d166d4012424bdc9de460095df2f375f2708;hp=cffc828164056aa1e33e7c68395dfa3199ba631f;hb=600e9b690d7649e8cde7a9a4cd1089fcb432d238;hpb=4b616a57791fd6fb324194a0eb96a8f95826c533 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'); }