From 69a7e172a5662977160ba77bc3e7d8a59c707e27 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 21 Apr 2010 12:06:18 -0500 Subject: [PATCH] fix varname in operation/statistics --- lib/WebGUI/Operation/Statistics.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/Statistics.pm b/lib/WebGUI/Operation/Statistics.pm index 659ecb458..7511f3ff9 100644 --- a/lib/WebGUI/Operation/Statistics.pm +++ b/lib/WebGUI/Operation/Statistics.pm @@ -186,7 +186,7 @@ sub www_viewStatistics { # Get the latest WebGUI version my $url = "http://update.webgui.org/latest-version.txt"; my $cache = $session->cache; - my $value = $cache->compute( $url, sub { + my $version = $cache->compute( $url, sub { my $ua = LWP::UserAgent->new( env_proxy => 1, agent => "WebGUI/" . $WebGUI::VERSION,