board모듈의 dispBoardContentList에서 누락된 코드 보완

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5167 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-12-23 09:43:36 +00:00
parent c40ea62b34
commit 3ec3f87a12
2 changed files with 7 additions and 2 deletions

View file

@ -220,6 +220,8 @@
if(!in_array($args->sort_index, $this->order_target)) $args->sort_index = $this->module_info->order_target?$this->module_info->order_target:'list_order';
if(!in_array($args->order_type, array('asc','desc'))) $args->order_type = $this->module_info->order_type?$this->module_info->order_type:'asc';
$oDocument = $oDocumentModel->getDocument(Context::get('document_srl'));
// 특정 문서의 permalink로 직접 접속할 경우 page값을 직접 구함
if(count($_GET)==1 && isset($_GET['document_srl']) && $oDocument->isExists() && !$oDocument->isNotice()) {
$page = $oDocumentModel->getDocumentPage($oDocument, $args);

View file

@ -97,8 +97,10 @@
{
foreach($output->data as $data)
{
debugPrint("start");
$this->deleteFromQueue($data->comment_srl);
$this->sendCommentNotify($data->comment_srl);
debugPrint("end");
}
}
FileHandler::removeFile($lockFilePath);
@ -177,7 +179,6 @@
return;
}
$parentHomepage = $oParent->getHomepageUrl();
$oMemberModel = &getModel('member');
if(!$parentHomepage)
@ -191,7 +192,6 @@
return;
}
$childHomepage = $oChild->getHomepageUrl();
if(!$childHomepage)
{
@ -262,8 +262,11 @@
$oReq->addPostData('r2_body', strip_tags($oChild->get('content')));
debugPrint($target);
$oReq->sendRequest(false);
debugPrint("ok");
$code = $oReq->getResponseCode();
debugPrint($code);
return $code;
}