slight fix.

This commit is contained in:
Matthew Wilson 2005-03-17 21:45:02 +00:00
parent 24c34f1c53
commit 8fac3ecd8a

View file

@ -36,7 +36,7 @@ sub process {
$var{'account.display.url'} = WebGUI::URL::page('op=auth&method=displayAccount');
$var{'logout.label'} = WebGUI::International::get(49);
my $boxSize = $param[0];
$boxSize = 12 unless $boxSize;
$boxSize = 12 unless ($boxSize);
if (index(lc($ENV{HTTP_USER_AGENT}),"msie") < 0) {
$boxSize = int($boxSize=$boxSize*2/3);
}