Merge pull request !20 from SNIPER722/master

This commit is contained in:
SNIPER722 2017-01-19 09:13:18 +08:00 committed by 康盛Discuz!
commit f0d5d52958
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if($uid && isemail($email) && $time > TIMESTAMP - 86400) {
} elseif($ucresult == -6) {
showmessage('profile_email_duplicate', '', array(), array('return' => true));
}
if($member['groupid'] == 8) {
if($_G['setting']['regverify'] == 1 && $member['groupid'] == 8) {
$membergroup = C::t('common_usergroup')->fetch_by_credits($member['credits']);
$setarr['groupid'] = $membergroup['groupid'];
}