1
0
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:
Cameron
2016-04-30 12:02:02 -07:00
parent d3383a71b6
commit d098589456
5 changed files with 69 additions and 25 deletions

View File

@@ -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))