fixed bug where it would show visitor as a logged in user.
This commit is contained in:
parent
0c0126b57e
commit
11578672c1
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ sub _replacement {
|
||||||
my ($temp,$boxSize,@param,$text,$f);
|
my ($temp,$boxSize,@param,$text,$f);
|
||||||
@param = WebGUI::Macro::getParams($_[0]);
|
@param = WebGUI::Macro::getParams($_[0]);
|
||||||
$temp = '<div class="loginBox">';
|
$temp = '<div class="loginBox">';
|
||||||
if ($session{var}{sessionId}) {
|
if ($session{user}{userId} <> 1) {
|
||||||
$text = $param[1];
|
$text = $param[1];
|
||||||
if (not defined $text){
|
if (not defined $text){
|
||||||
$temp .= WebGUI::International::get(48);
|
$temp .= WebGUI::International::get(48);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue