mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fill upload_target_type as soon as parent document/comment/module is saved
This commit is contained in:
parent
12f047b822
commit
1c07b2e0d2
3 changed files with 9 additions and 4 deletions
|
|
@ -173,7 +173,7 @@ class pageAdminController extends page
|
|||
if(!$output->toBool()) return $output;
|
||||
// On the page, change the validity status of the attached file
|
||||
$oFileController = getController('file');
|
||||
$oFileController->setFilesValid($module_info->module_srl);
|
||||
$oFileController->setFilesValid($module_info->module_srl, 'mod');
|
||||
|
||||
$this->add("module_srl", $module_info->module_srl);
|
||||
$this->add("page", Context::get('page'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue