bug fixes
This commit is contained in:
parent
ccff9c7014
commit
ebb6134c2d
27 changed files with 84 additions and 214 deletions
|
|
@ -180,9 +180,9 @@ sub www_viewStatistics {
|
|||
my $i18n = WebGUI::International->new($session);
|
||||
my $url = "http://update.webgui.org/latest-version.txt";
|
||||
my $cache = $session->cache;
|
||||
my $version = $cache->get($url);
|
||||
my $version = eval{$cache->get($url)};
|
||||
if (not defined $version) {
|
||||
$version = $cache->setByHttp($url, $url, 43200);
|
||||
$version = eval{$cache->setByHttp($url, $url, 43200)};
|
||||
}
|
||||
chomp $version;
|
||||
$output .= '<table>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue