From 5f40fa5d8ef489315d427936bb6b79c9da6133b8 Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 7 Dec 2007 04:50:30 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=EC=97=90=EC=84=9C=20=EB=8C=93=EA=B8=80=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=EC=8B=9C=20=EB=8B=B5=EA=B8=80=EC=9D=B4=20=EC=9E=88?= =?UTF-8?q?=EC=96=B4=EC=84=9C=20=EC=A7=80=EC=9B=8C=EC=A7=80=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EA=B2=83=EC=9D=80=20=EB=AC=B4=EC=8B=9C?= =?UTF-8?q?=ED=95=98=EA=B3=A0=20=EB=8B=A4=EC=9D=8C=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=A7=84=ED=96=89=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3169 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/comment.admin.controller.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/comment/comment.admin.controller.php b/modules/comment/comment.admin.controller.php index a1b227f4f..e4da7faef 100644 --- a/modules/comment/comment.admin.controller.php +++ b/modules/comment/comment.admin.controller.php @@ -27,16 +27,20 @@ $oCommentController = &getController('comment'); + $deleted_count = 0; + // 글삭제 for($i=0;$i<$comment_count;$i++) { $comment_srl = trim($comment_srl_list[$i]); if(!$comment_srl) continue; $output = $oCommentController->deleteComment($comment_srl, true); - if(!$output->toBool()) return $output; + if(!$output->toBool()) continue; + + $deleted_count ++; } - $this->setMessage( sprintf(Context::getLang('msg_checked_comment_is_deleted'), $comment_count) ); + $this->setMessage( sprintf(Context::getLang('msg_checked_comment_is_deleted'), $deleted_count) ); } /**