mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 655 Block sending trackback without content of document
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10240 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
414987aa37
commit
ad0339f0cd
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
// Posts of the information obtained permission to come and check whether
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
if(!$oDocument->isExists()) return new Object(-1, 'msg_invalid_request');
|
||||
if(!$oDocument->isExists() || !$oDocument->getSummary()) return new Object(-1, 'msg_invalid_request');
|
||||
if($oDocument->getMemberSrl() != $logged_info->member_srl) return new Object(-1, 'msg_not_permitted');
|
||||
// Specify the title of the module, the current article
|
||||
$oModuleModel = &getModel('module');
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
$document_srl = Context::get('target_srl');
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl);
|
||||
if(!$oDocument->isExists()) return new Object();
|
||||
if(!$oDocument->isExists() || !$oDocument->getSummary()) return new Object();
|
||||
if($oDocument->getMemberSrl() != $logged_info->member_srl) return new Object();
|
||||
// Add a link sent yeokingeul
|
||||
$oDocumentController = &getController('document');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue