From 1b4910353eaf0c22a0b55626edf3447cfad72f98 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 21 Mar 2013 13:04:43 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=EC=A7=80=EA=B5=AC=EB=B6=84=EC=9D=84?= =?UTF-8?q?=20,=EB=A1=9C=20=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/write_update.php b/bbs/write_update.php index ba2feb74c..16ebb0cd8 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -349,7 +349,7 @@ if ($w == '' || $w == 'r') { // 쓰기 포인트 부여 if ($w == '') { if ($notice) { - $bo_notice = $wr_id."\n".$board['bo_notice']; + $bo_notice = $wr_id.",".$board['bo_notice']; sql_query(" update {$g4['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' "); } @@ -447,7 +447,7 @@ if ($w == '' || $w == 'r') { if ($notice) { //if (!preg_match("/[^0-9]{0,1}{$wr_id}[\r]{0,1}/",$board['bo_notice'])) if (!in_array((int)$wr_id, $notice_array)) { - $bo_notice = $wr_id . '\n' . $board['bo_notice']; + $bo_notice = $wr_id . ',' . $board['bo_notice']; sql_query(" update {$g4['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' "); } } else {