관리자 -> 게시판수정에서 컬럼명 추가 sql 코드 수정
This commit is contained in:
@ -77,11 +77,11 @@ if (!isset($board['bo_mobile_subject'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($board['bo_use_captcha'])) {
|
if (!isset($board['bo_use_captcha'])) {
|
||||||
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_use_captcha` TINYINT NOT NULL DEFAULT '0' AFTER `bo_use_sns` ");
|
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_use_captcha` TINYINT NOT NULL DEFAULT '0' AFTER `bo_use_sns` ", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($board['bo_select_editor'])) {
|
if (!isset($board['bo_select_editor'])) {
|
||||||
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_select_editor` VARCHAR(50) NOT NULL DEFAULT '' AFTER `bo_use_dhtml_editor` ");
|
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_select_editor` VARCHAR(50) NOT NULL DEFAULT '' AFTER `bo_use_dhtml_editor` ", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
run_event('adm_board_form_before', $board, $w);
|
run_event('adm_board_form_before', $board, $w);
|
||||||
|
|||||||
Reference in New Issue
Block a user