From c26d5814a52bc041cd224319c6912e9c5ebb6585 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 9 Apr 2013 11:56:21 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=A0=ED=81=B0=20=EC=B2=B4=ED=81=AC?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C=20=EB=B0=8F=20=EA=B5=AC?= =?UTF-8?q?=EC=A1=B0=20=EB=B3=B5=EC=82=AC=EC=8B=9C=20=EA=B3=B5=EC=A7=80?= =?UTF-8?q?=EC=82=AC=ED=95=AD=EC=9D=80=20=EB=B3=B5=EC=82=AC=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_copy_update.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 1715617fc..5628417d3 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -15,8 +15,6 @@ $row = sql_fetch(" select count(*) as cnt from {$g4['board_table']} where bo_tab if ($row['cnt']) alert($target_table.'은(는) 이미 존재하는 게시판 테이블명 입니다.\\n복사할 테이블명으로 사용할 수 없습니다.'); -check_token(); - // 게시판 테이블 생성 $sql = get_table_define($g4['write_prefix'] . $bo_table); $sql = str_replace($g4['write_prefix'] . $bo_table, $g4['write_prefix'] . $target_table, $sql); @@ -24,6 +22,11 @@ sql_query($sql); $file_copy = array(); +// 구조만 복사시에는 공지사항 번호는 복사하지 않는다. +if ($copy_case == 'schema_only') { + $board['bo_notice'] = ''; +} + // 게시판 정보 $sql = " insert into {$g4['board_table']} set bo_table = '$target_table',