From b54a180479081655f54317041ac0974c54e0c2dc Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 22 Feb 2013 11:15:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BA=A1=EC=B0=A8=20=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write_comment_update.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index 1978b0c0b..e8b15ba98 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -1,6 +1,7 @@ 50) { @@ -20,6 +21,8 @@ if (!empty($_POST['wr_email'])) if ($is_guest) { if ($wr_name == '') alert('이름은 필히 입력하셔야 합니다.'); + if(!chk_captcha()) + alert('스팸방지에 입력한 숫자가 틀렸습니다.'); } if ($w == "c" || $w == "cu") { @@ -45,7 +48,7 @@ if (empty($wr['wr_id'])) // 이 옵션을 사용 안 함으로 설정할 경우 어떤 스크립트도 실행 되지 않습니다. //if (!trim($_POST["wr_content"])) die ("내용을 입력하여 주십시오."); -if ($member[mb_id]) +if ($member[mb_id]) { $mb_id = $member['mb_id']; // 4.00.13 - 실명 사용일때 코멘트에 별명으로 입력되던 오류를 수정