mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +09:00
#17 when Temp Document save, give not point.
only Document status empty, give point git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8427 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3c52744d5b
commit
69d0a31be0
2 changed files with 50 additions and 47 deletions
|
|
@ -244,6 +244,7 @@ class documentController extends document {
|
|||
function updateDocument($source_obj, $obj) {
|
||||
if(!$source_obj->document_srl || !$obj->document_srl) return new Object(-1,'msg_invalied_request');
|
||||
// Call a trigger (before)
|
||||
if(!$obj->status) $obj->status = $source_obj->status;
|
||||
$output = ModuleHandler::triggerCall('document.updateDocument', 'before', $obj);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue