fix varname in operation/statistics

This commit is contained in:
Doug Bell 2010-04-21 12:06:18 -05:00
parent a9ff59d7b2
commit 69a7e172a5

View file

@ -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,