From 36ab642eaaa3a27e346659bef7fff07b3733ca30 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Thu, 6 Sep 2007 15:42:52 +0000 Subject: fixed timezone issues in zoomer --- lib/Smokeping/Graphs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping') diff --git a/lib/Smokeping/Graphs.pm b/lib/Smokeping/Graphs.pm index bb7002d..f0d7bf7 100644 --- a/lib/Smokeping/Graphs.pm +++ b/lib/Smokeping/Graphs.pm @@ -109,7 +109,7 @@ sub get_multi_detail ($$$$;$){ $imgbase =$cfg->{General}{imgcache}."/__navcache/".time()."$$"; $imghref =$cfg->{General}{imgurl}."/__navcache/".time()."$$"; } else { - my $serial = $q->param('serial'); + my $serial = int(rand(2000)); $imgbase =$cfg->{General}{imgcache}."/__navcache/".$serial; $imghref =$cfg->{General}{imgurl}."/__navcache/".$serial; } -- cgit v1.2.3-24-g4f1b