mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@93 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cffcab9f74
commit
bc1b8c03f9
3 changed files with 48 additions and 48 deletions
|
|
@ -133,7 +133,7 @@
|
|||
// parent_srl이 있으면 답변으로
|
||||
if($obj->parent_srl) {
|
||||
$comment = $oComment->getComment($obj->parent_srl);
|
||||
if(!$comment) return new Output(-1, 'msg_invalid_request');
|
||||
if(!$comment) return new Object(-1, 'msg_invalid_request');
|
||||
$output = $oComment->insertComment($obj);
|
||||
$comment_srl = $output->get('comment_srl');
|
||||
// 없으면 신규
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
// comment_srl이 있으면 수정으로
|
||||
} else {
|
||||
$comment = $oComment->getComment($obj->comment_srl);
|
||||
if(!$comment) return new Output(-1, 'msg_invalid_request');
|
||||
if(!$comment) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
$obj->parent_srl = $comment->parent_srl;
|
||||
$output = $oComment->updateComment($obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue