mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Fix for plugin repair (in debug mode) Fix for Login page signup link when registration is disabled.
This commit is contained in:
@@ -180,16 +180,15 @@ class login_shortcodes extends e_shortcode
|
||||
|
||||
function sc_login_table_signup_link($parm='')
|
||||
{
|
||||
if(empty($this->userReg))
|
||||
if($this->userReg === 1)
|
||||
{
|
||||
return null;
|
||||
return "<a href='".e_SIGNUP."'>".LAN_LOGIN_11."</a>";
|
||||
}
|
||||
|
||||
return "<a href='".e_SIGNUP."'>".LAN_LOGIN_11."</a>";
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
function sc_login_table_fpw_link($parm='')
|
||||
{
|
||||
if(empty($this->userReg))
|
||||
|
Reference in New Issue
Block a user