fixed bug where it would show visitor as a logged in user.

This commit is contained in:
JT Smith 2002-12-14 21:59:48 +00:00
parent 0c0126b57e
commit 11578672c1

View file

@ -27,7 +27,7 @@ sub _replacement {
my ($temp,$boxSize,@param,$text,$f);
@param = WebGUI::Macro::getParams($_[0]);
$temp = '<div class="loginBox">';
if ($session{var}{sessionId}) {
if ($session{user}{userId} <> 1) {
$text = $param[1];
if (not defined $text){
$temp .= WebGUI::International::get(48);