From c21b087bdd62a3298a425d7038a02e6588d3ef87 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 16 Jan 2013 16:47:47 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EC=9D=BC=20=EB=B0=9C=EC=86=A1=20?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=20=EC=97=90=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write_comment_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/write_comment_update.php b/bbs/write_comment_update.php index 45e530925..f68333688 100644 --- a/bbs/write_comment_update.php +++ b/bbs/write_comment_update.php @@ -186,7 +186,7 @@ if ($w == 'c') // 코멘트 입력 $board_admin = get_admin('board'); $wr_subject = get_text(stripslashes($wr['wr_subject'])); - $wr_content = nl2br(get_text(stripslashes('----- 원글 -----\n\n'.$wr[wr_subject].'\n\n\n----- 코멘트 -----\n\n'.$wr_content))); + $wr_content = nl2br(get_text(stripslashes("----- 원글 -----\n\n{$wr['wr_subject']}\n\n\n----- 코멘트 -----\n\n$wr_content"))); $warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'코멘트', 'cu'=>'코멘트 수정' ); $str = $warr[$w];