From 6440cdf5a412424a007b95eb63081620380904b3 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 27 Feb 2013 11:50:41 +0900 Subject: [PATCH] =?UTF-8?q?gr=5Fdevice=20=ED=95=84=EB=93=9C=20=EC=97=86?= =?UTF-8?q?=EC=9C=BC=EB=A9=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/boardgroup_form.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adm/boardgroup_form.php b/adm/boardgroup_form.php index 5e82f51ed..1f43c28a0 100644 --- a/adm/boardgroup_form.php +++ b/adm/boardgroup_form.php @@ -20,6 +20,10 @@ if ($w == '') { else alert('제대로 된 값이 넘어오지 않았습니다.'); +if (!isset($group['gr_device'])) { + sql_query(" ALTER TABLE `{$g4['group_table']}` ADD `gr_device` ENUM('both','pc','mobile') NOT NULL DEFAULT 'both' AFTER `gr_subject` ", false); +} + if (!isset($group['gr_show_menu'])) { sql_query(" ALTER TABLE `{$g4['group_table']}` ADD `gr_show_menu` TINYINT NOT NULL DEFAULT '0' AFTER `gr_use_access`, ADD `gr_order` INT NOT NULL DEFAULT '0' AFTER `gr_show_menu` ", false); }