mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 2491 update error of copyDocumentModule
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11393 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
75d8192349
commit
4e39284caa
2 changed files with 4 additions and 4 deletions
|
|
@ -267,7 +267,7 @@
|
|||
}
|
||||
|
||||
// Write a post
|
||||
$output = $oDocumentController->insertDocument($obj, true);
|
||||
$output = $oDocumentController->insertDocument($obj, true, true);
|
||||
if(!$output->toBool()) {
|
||||
$oDB->rollback();
|
||||
return $output;
|
||||
|
|
@ -710,7 +710,7 @@
|
|||
$oDB->begin();
|
||||
|
||||
//DB restore
|
||||
$output = $oDocumentController->insertDocument($originObject, false, true);
|
||||
$output = $oDocumentController->insertDocument($originObject, false, true, false);
|
||||
if(!$output->toBool()) return new Object(-1, $output->getMessage());
|
||||
|
||||
//FILE restore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue