From 52dbc4b6e752d8e8eea9b4e697f75efe71ace4c7 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 21 Jul 2014 09:53:46 +0900 Subject: [PATCH] =?UTF-8?q?bo=5Fnotice=20=ED=95=84=EB=93=9C=EC=97=90=20?= =?UTF-8?q?=ED=95=84=EC=9A=94=EC=B9=98=EC=95=8A=EB=8A=94=20=EC=BD=A4?= =?UTF-8?q?=EB=A7=88=20=EC=B6=94=EA=B0=80=EB=90=98=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/write_update.php b/bbs/write_update.php index ced4dbff6..507f15e54 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -361,7 +361,7 @@ if ($w == '' || $w == 'r') { // 쓰기 포인트 부여 if ($w == '') { if ($notice) { - $bo_notice = $wr_id.",".$board['bo_notice']; + $bo_notice = $wr_id.($board['bo_notice'] ? ",".$board['bo_notice'] : ''); sql_query(" update {$g5['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' "); }