Fixed a bug where registration link would appear even if anonymous registration were turned off.
This commit is contained in:
parent
11c8544977
commit
cbcb32922d
1 changed files with 3 additions and 1 deletions
|
|
@ -56,7 +56,9 @@ sub _replacement {
|
|||
$f->raw('<span class="formSubtext"><br></span>');
|
||||
$f->submit(WebGUI::International::get(52));
|
||||
$temp .= $f->print;
|
||||
$temp .= '<a href="'.WebGUI::URL::page('op=createAccount').'">'.WebGUI::International::get(407).'</a>';
|
||||
if ($session{setting}{anonymousRegistration}) {
|
||||
$temp .= '<a href="'.WebGUI::URL::page('op=createAccount').'">'.WebGUI::International::get(407).'</a>';
|
||||
}
|
||||
}
|
||||
$temp .= '</div>';
|
||||
return $temp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue