1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Possible fix for signup being displayed when signup is deactivated.

This commit is contained in:
Cameron
2013-07-24 04:06:49 -07:00
parent ee6626ff94
commit 50c9b2dba5

View File

@@ -275,7 +275,7 @@ if($signup_imagecode)
}
if ((USER || ($pref['user_reg'] === 0) || (vartrue($pref['auth_method'],'e107') != 'e107')) && !getperms('0'))
if ((USER || ($pref['user_reg'] != 1) || (vartrue($pref['auth_method'],'e107') != 'e107')) && !getperms('0'))
{
header('location: '.e_HTTP.'index.php');
}