From 6f1c3bee2c603d90cdb5d439342c48e4bb9fba65 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 25 Jan 2018 16:29:51 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8B=80=EB=A6=B0=20=EA=B5=AC=EB=AC=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 2 +- bbs/write_update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/write.php b/bbs/write.php index 78d5a975e..9481f3629 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -386,7 +386,7 @@ else $captcha_html = ''; $captcha_js = ''; -$is_use_captcha = ((!empty($board['bo_use_captcha'] && $w!=='u') || $is_guest) && !$is_admin) ? 1 : 0; +$is_use_captcha = ((($board['bo_use_captcha'] && $w!=='u') || $is_guest) && !$is_admin) ? 1 : 0; if ($is_use_captcha) { $captcha_html = captcha_html(); diff --git a/bbs/write_update.php b/bbs/write_update.php index d3d1c005f..590380f95 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -188,7 +188,7 @@ if ($w == '' || $w == 'u') { alert('w 값이 제대로 넘어오지 않았습니다.'); } -$is_use_captcha = ((!empty($board['bo_use_captcha'] && $w!=='u') || $is_guest) && !$is_admin) ? 1 : 0; +$is_use_captcha = ((($board['bo_use_captcha'] && $w!=='u') || $is_guest) && !$is_admin) ? 1 : 0; if ($is_use_captcha && !chk_captcha()) { alert('자동등록방지 숫자가 틀렸습니다.');