diff --git a/lib/WebGUI/Macro/L_loginBox.pm b/lib/WebGUI/Macro/L_loginBox.pm index 7f40658d7..0c6bdb0bb 100644 --- a/lib/WebGUI/Macro/L_loginBox.pm +++ b/lib/WebGUI/Macro/L_loginBox.pm @@ -27,7 +27,7 @@ sub _replacement { my ($temp,$boxSize,@param,$text,$f); @param = WebGUI::Macro::getParams($_[0]); $temp = '
'; - if ($session{var}{sessionId}) { + if ($session{user}{userId} <> 1) { $text = $param[1]; if (not defined $text){ $temp .= WebGUI::International::get(48);