From d0eb0601adc0344c6e9a361d7dc3d95a5a53df9b Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 7 Feb 2019 16:47:54 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=98=EB=AA=BB=EB=90=9C=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/delete_comment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/delete_comment.php b/bbs/delete_comment.php index 6b4929f63..5ec08ae53 100644 --- a/bbs/delete_comment.php +++ b/bbs/delete_comment.php @@ -53,8 +53,8 @@ $comment_reply = substr($write['wr_comment_reply'], 0, $len); $sql = " select count(*) as cnt from {$write_table} where wr_comment_reply like '{$comment_reply}%' and wr_id <> '{$comment_id}' - and wr_parent = '{$write[wr_parent]}' - and wr_comment = '{$write[wr_comment]}' + and wr_parent = '{$write['wr_parent']}' + and wr_comment = '{$write['wr_comment']}' and wr_is_comment = 1 "; $row = sql_fetch($sql); if ($row['cnt'] && !$is_admin)