From 5a8fd327a90535a531652d01d3619cc75556b205 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 30 Apr 2013 11:42:34 +0900 Subject: [PATCH] =?UTF-8?q?bo=5Fuse=5Fcert=20enum=20=ED=95=AD=EB=AA=A9?= =?UTF-8?q?=EC=97=90=EC=84=9C=20none=20=EC=84=A4=EC=A0=95=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adm/board_form.php b/adm/board_form.php index d9affee10..f090ceed7 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -46,9 +46,11 @@ if (!isset($board['bo_mobile_content_head'])) { } if (!isset($board['bo_use_cert'])) { - sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_use_cert` ENUM('','cert','adult') NOT NULL DEFAULT 'none' AFTER `bo_use_email` ", false); + sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_use_cert` ENUM('','cert','adult') NOT NULL DEFAULT '' AFTER `bo_use_email` ", false); } +sql_query(" ALTER TABLE `{$g4['board_table']}` CHANGE `bo_use_cert` `bo_use_cert` ENUM('','cert','adult') NOT NULL DEFAULT '' ", false); + $required = ""; $readonly = ""; if ($w == '') {