mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1651 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bd689e83da
commit
08b801f1e7
8 changed files with 35 additions and 31 deletions
|
|
@ -33,13 +33,13 @@
|
|||
if(!$manual_inserted) {
|
||||
// document model 객체 생성후 원본글을 가져옴
|
||||
$oDocumentModel = &getModel('document');
|
||||
$document = $oDocumentModel->getDocument($document_srl);
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
|
||||
// 원본글이 없거나 트랙백 허용을 하지 않으면 오류 표시
|
||||
if(!$document_srl) return $this->stop('fail');
|
||||
if($document->allow_trackback=='N') return new Object(-1,'fail');
|
||||
if(!$oDocument->isExists()) return $this->stop('fail');
|
||||
if(!$oDocument->allowTrackback()) return new Object(-1,'fail');
|
||||
|
||||
$obj->module_srl = $document->module_srl;
|
||||
$obj->module_srl = $oDocument->get('module_srl');
|
||||
}
|
||||
|
||||
// 엮인글 정리
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue