#435. 댓글 목록을 구해오는 부분의 comment::getCommentList()함수의 변경에 의한 결과값의 구조 변경을 반영하여 게시글 복사시 댓글도 잘 복사되도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3921 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-03-10 14:38:38 +00:00
parent 10c6124c71
commit 689e148847

View file

@ -293,7 +293,8 @@
// 댓글 이전
if($oDocument->getCommentCount()) {
$oCommentModel = &getModel('comment');
$comments = $oCommentModel->getCommentList($document_srl, true);
$comment_output = $oCommentModel->getCommentList($document_srl, true);
$comments = $comment_output->data;
if(count($comments)) {
$oCommentController = &getController('comment');
$success_count = 0;