최근 댓글 출력시 해당 댓글에 권한을 주어 버리던 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3025 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-11-20 06:49:39 +00:00
parent b0ec2d7b4b
commit 877d230c95

View file

@ -147,7 +147,6 @@
$oComment = null;
$oComment = new commentItem();
$oComment->setAttribute($attribute);
$oComment->setGrant();
$result[$key] = $oComment;
}
@ -191,7 +190,7 @@
if(!$comment_srl) continue;
if($is_admin || $this->isGranted($comment_srl) || $member_srl == $logged_info->member_srl) $source_list[$i]->is_granted = true;
//if($is_admin || $this->isGranted($comment_srl) || $member_srl == $logged_info->member_srl) $source_list[$i]->is_granted = true;
// 목록을 만듬
$list[$comment_srl] = $source_list[$i];