From 311867f73086814275ef2199e2981e35abfb584e Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 1 Oct 2015 13:15:26 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A0=ED=83=9D=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EC=A0=91=EA=B7=BC=20=EC=A0=9C=ED=95=9C=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/delete_all.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/bbs/delete_all.php b/bbs/delete_all.php index 1d0ca652e..4587b596a 100644 --- a/bbs/delete_all.php +++ b/bbs/delete_all.php @@ -1,5 +1,8 @@ (G5_IS_MOBILE ? $board['bo_mobile_page_rows'] : $board['bo_page_rows'])) + alert('올바른 방법으로 이용해 주십시오.'); // 사용자 코드 실행 @include_once($board_skin_path.'/delete_all.skin.php'); - // 거꾸로 읽는 이유는 답변글부터 삭제가 되어야 하기 때문임 -for ($i=count($tmp_array)-1; $i>=0; $i--) +for ($i=$chk_count-1; $i>=0; $i--) { $write = sql_fetch(" select * from $write_table where wr_id = '$tmp_array[$i]' ");