mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
rno설정 제대로 안된부분 수정 -> textcube로도 알림이 감.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4329 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c5765c2853
commit
bafe9df2a1
1 changed files with 6 additions and 4 deletions
|
|
@ -225,21 +225,23 @@
|
|||
if($oChild->get('parent_srl'))
|
||||
{
|
||||
$oReq->addPostData('r1_no', $oParent->comment_srl);
|
||||
$oReq->addPostData('r1_url', sprintf("%s#comment_%s", $oDocument->getPermanentUrl(), $oParent->comment_srl));
|
||||
$oReq->addPostData('r2_rno', $oParent->comment_srl);
|
||||
}
|
||||
else
|
||||
{
|
||||
$oReq->addPostData('r1_no', '-1');
|
||||
$oReq->addPostData('r1_url', $oParent->getPermanentUrl());
|
||||
$oReq->addPostData('r2_rno', '-1');
|
||||
}
|
||||
|
||||
$oReq->addPostData('r1_pno', $oDocument->document_srl);
|
||||
$oReq->addPostData('r1_rno', '0');
|
||||
$oReq->addPostData('r1_homepage', $parentHomepage);
|
||||
$oReq->addPostData('r1_regdate', ztime($oParent->get('regdate')));
|
||||
$oReq->addPostData('r1_url', sprintf("%s#comment_%s", $oDocument->getPermanentUrl(), $oParent->comment_srl));
|
||||
$oReq->addPostData('r2_name', $oChild->getNickName());
|
||||
$oReq->addPostData('r2_no', $oChild->comment_srl);
|
||||
$oReq->addPostData('r2_pno', $oDocument->document_srl);
|
||||
$oReq->addPostData('r2_rno', $oParent->comment_srl);
|
||||
$oReq->addPostData('r2_homepage', $childHomepage);
|
||||
$oReq->addPostData('r2_regdate', ztime($oChild->get('regdate')));
|
||||
$oReq->addPostData('r2_url', sprintf("%s#comment_%s", $oDocument->getPermanentUrl(), $oChild->comment_srl));
|
||||
|
|
@ -255,7 +257,7 @@
|
|||
|
||||
$oReq->addPostData('r2_body', strip_tags($oChild->get('content')));
|
||||
|
||||
$oReq->sendRequest(false);
|
||||
$oReq->sendRequest(true);
|
||||
$code = $oReq->getResponseCode();
|
||||
return $code;
|
||||
}
|
||||
|
|
@ -297,7 +299,7 @@
|
|||
$module_srl = $module_info->module_srl;
|
||||
if(!$obj->r1_no)
|
||||
{
|
||||
$obj->r1_no = -1;
|
||||
$obj->r1_no = 0;
|
||||
}
|
||||
|
||||
if( $siteid == -2 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue