mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix module_srl not being updated for files attached to comments, when a document is moved to a different module
This commit is contained in:
parent
f6a9d49db1
commit
b213fc1968
2 changed files with 15 additions and 7 deletions
|
|
@ -1971,8 +1971,16 @@ class FileController extends File
|
|||
function triggerMoveDocument($obj)
|
||||
{
|
||||
$obj->upload_target_srls = $obj->document_srls;
|
||||
executeQuery('file.updateFileModule', $obj);
|
||||
executeQuery('file.updateFileModuleComment', $obj);
|
||||
$output = executeQuery('file.updateFileModule', $obj);
|
||||
if (!$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
$output = executeQuery('file.updateFileModuleComment', $obj);
|
||||
if (!$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
function triggerAddCopyDocument(&$obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue