회원가입시 추천인을 사용하지 않는 경우에도 추천인 아이디가 틀렸다는 오류가 나오는 부분을 수정
This commit is contained in:
@ -75,7 +75,10 @@ if ($w == '' || $w == 'u') {
|
||||
if ($w=='') {
|
||||
if ($msg = exist_mb_id($mb_id)) alert($msg);
|
||||
|
||||
if (!exist_mb_id($mb_recommend)) alert("추천인이 존재하지 않습니다.");
|
||||
if ($config['cf_use_recommend']) {
|
||||
if (!exist_mb_id($mb_recommend))
|
||||
alert("추천인이 존재하지 않습니다.");
|
||||
}
|
||||
|
||||
if (strtolower($mb_id) == strtolower($mb_recommend)) {
|
||||
alert('본인을 추천할 수 없습니다.');
|
||||
|
||||
@ -214,7 +214,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<?php if ($w == "" && $config['cf_use_recommend']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_recommend">추천인아이디</label></th>
|
||||
<td><input type="text" name="mb_recommend" id="reg_mb_recommend" class="frm_input"></td>
|
||||
<td><input type="text" name="mb_recommend" id="reg_mb_recommend" class="frm_input" required></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user