From 3401866e75c03064751972c1ec614fb107bd6b38 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 30 Apr 2013 11:49:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EC=B2=9C=EC=9D=B8=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/register_form_update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 297be4d4f..7cc1039f4 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -75,6 +75,8 @@ if ($w == '' || $w == 'u') { if ($w=='') { if ($msg = exist_mb_id($mb_id)) alert($msg); + if (!exist_mb_id($mb_recommend)) alert("추천인이 존재하지 않습니다."); + if (strtolower($mb_id) == strtolower($mb_recommend)) { alert('본인을 추천할 수 없습니다.'); }