mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
블로그API 애드온에서 editPost 사용시 document_srl을 꼭 체크하도록 수정
글 수정 method 에서 document_srl 체크하도록 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6832 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b91426b408
commit
130d47db30
3 changed files with 13 additions and 2 deletions
|
|
@ -239,6 +239,8 @@
|
|||
* @brief 문서 수정
|
||||
**/
|
||||
function updateDocument($source_obj, $obj) {
|
||||
if(!$source_obj->document_srl || !$obj->document_srl) return new Object(-1,'msg_invalied_request');
|
||||
|
||||
// trigger 호출 (before)
|
||||
$output = ModuleHandler::triggerCall('document.updateDocument', 'before', $obj);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue