[freeside-commits] freeside/httemplate/graph/elements report.html, 1.4.2.1, 1.4.2.2

Mark Wells mark at wavetail.420.am
Thu Jan 26 12:27:17 PST 2012


Update of /home/cvs/cvsroot/freeside/httemplate/graph/elements
In directory wavetail.420.am:/tmp/cvs-serv26612/httemplate/graph/elements

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	report.html 
Log Message:
fix bizarre session id bug, from #15393

Index: report.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/graph/elements/report.html,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -w -d -r1.4.2.1 -r1.4.2.2
--- report.html	10 Jan 2012 18:38:43 -0000	1.4.2.1
+++ report.html	26 Jan 2012 20:27:15 -0000	1.4.2.2
@@ -278,7 +278,8 @@
   %opt = %{ $m->cache->get($session) };
 }
 else {
-  $session = sprintf("%10d%6d", time, int(rand(1000000)));
+  $session = sprintf("%010d%06d", time, int(rand(1000000)));
+  sleep(2);
   $m->cache->set($session, \%opt, '1h');
 }
 



More information about the freeside-commits mailing list