From 69b322144afd4f67b4c1df4d50320c0f7ad2ed99 Mon Sep 17 00:00:00 2001 From: projectSylas Date: Fri, 31 Dec 2021 11:40:06 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=EC=A7=80=EA=B8=80=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=EC=8B=9C=20bo=5Fnotice=20=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EA=B8=80=EB=B2=88=ED=98=B8=EA=B0=80=20=EC=82=AC=EB=9D=BC?= =?UTF-8?q?=EC=A7=80=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(ifelse=EB=8B=98,211231)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/move_update.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bbs/move_update.php b/bbs/move_update.php index 097af6863..99265fb8c 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -247,7 +247,24 @@ if ($sw == 'move') sql_query(" delete from {$g5['board_new_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' "); sql_query(" delete from {$g5['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$save[$i]['wr_id']}' "); } - sql_query(" update {$g5['board_table']} set bo_count_write = bo_count_write - '$save_count_write', bo_count_comment = bo_count_comment - '$save_count_comment' where bo_table = '$bo_table' "); + + // 공지사항이 이동되는 경우의 처리 begin + $arr = array(); + $sql = " select bo_notice from {$g5['board_table']} where bo_table = '{$bo_table}' "; + $row = sql_fetch($sql); + $arr_notice = explode(',', $row['bo_notice']); + for ($i=0; $i