From 5cc41e8455cd3b07706f9ba6b18e9058823a3fd4 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 17 May 2016 09:48:08 +0900 Subject: [PATCH 1/2] =?UTF-8?q?1:1=EB=AC=B8=EC=9D=98=20=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/qawrite_update.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bbs/qawrite_update.php b/bbs/qawrite_update.php index 21121140d..b00d0827b 100644 --- a/bbs/qawrite_update.php +++ b/bbs/qawrite_update.php @@ -16,9 +16,11 @@ $msg = array(); $qaconfig = get_qa_config(); if(trim($qaconfig['qa_category'])) { - $category = explode('|', $qaconfig['qa_category']); - if(!in_array($qa_category, $category)) - alert('분류를 올바르게 지정해 주십시오.'); + if($w != 'a') { + $category = explode('|', $qaconfig['qa_category']); + if(!in_array($qa_category, $category)) + alert('분류를 올바르게 지정해 주십시오.'); + } } else { alert('1:1문의 설정에서 분류를 설정해 주십시오'); } @@ -28,7 +30,7 @@ $qa_email = ''; if(isset($_POST['qa_email']) && $_POST['qa_email']) $qa_email = get_email_address(trim($_POST['qa_email'])); -if($qaconfig['qa_req_email'] && !$qa_email) +if($w != 'a' && $qaconfig['qa_req_email'] && !$qa_email) $msg[] = '이메일을 입력하세요.'; $qa_subject = ''; From 6457eded48ad0c894efaf571e388dfa3e16e1947 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 17 May 2016 09:54:23 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=88=84=EB=9D=BD=EB=90=9C=20=ED=95=84?= =?UTF-8?q?=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 --- install/gnuboard5.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql index a3add4f4e..f4445ccfe 100644 --- a/install/gnuboard5.sql +++ b/install/gnuboard5.sql @@ -463,7 +463,8 @@ CREATE TABLE IF NOT EXISTS `g5_member` ( `mb_ip` varchar(255) NOT NULL default '', `mb_leave_date` varchar(8) NOT NULL default '', `mb_intercept_date` varchar(8) NOT NULL default '', - `mb_email_certify` datetime NOT NULL default '0000-00-00 00:00:00', + `mb_email_certify` datetime NOT NULL default '0000-00-00 00:00:00', + `mb_email_certify2` varchar(255) NOT NULL default '', `mb_memo` text NOT NULL, `mb_lost_certify` varchar(255) NOT NULL, `mb_mailling` tinyint(4) NOT NULL default '0',