#18383550 문서와 댓글에 알람을 켠 경우 2번씩 쪽지가 가는 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8078 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-02-08 10:06:36 +00:00
parent c633010b7d
commit 18f4f4d07d

View file

@ -236,9 +236,11 @@
// 원본 댓글이 있고 원본 댓글에 알림(notify_message)가 있으면 메세지 보냄 // 원본 댓글이 있고 원본 댓글에 알림(notify_message)가 있으면 메세지 보냄
if($obj->parent_srl) { if($obj->parent_srl) {
$oParent = $oCommentModel->getComment($obj->parent_srl); $oParent = $oCommentModel->getComment($obj->parent_srl);
if ($oParent->get('member_srl') != $oDocument->get('member_srl')) {
$oParent->notify(Context::getLang('comment'), $obj->content); $oParent->notify(Context::getLang('comment'), $obj->content);
} }
} }
}
$output->add('comment_srl', $obj->comment_srl); $output->add('comment_srl', $obj->comment_srl);