댓글달때 document_srl이 없는 경우는 비교하지 않음

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4482 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-09-07 16:21:55 +00:00
parent a4f2ab1589
commit bb6b903aff

View file

@ -372,7 +372,7 @@
// 댓글이 없다면 오류
if(!$oSourceComment->isExists()) return $this->dispBoardMessage('msg_invalid_request');
if($oSourceComment->get('document_srl') != Context::get('document_srl')) return $this->dispBoardMessage('meg_invalid_request');
if(Context::get('document_srl') && $oSourceComment->get('document_srl') != Context::get('document_srl')) return $this->dispBoardMessage('meg_invalid_request');
// 대상 댓글을 생성
$oComment = $oCommentModel->getComment();