mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Add more detailed note about editor_mid
This commit is contained in:
parent
6e325526c8
commit
7f6553fd47
1 changed files with 4 additions and 1 deletions
|
|
@ -280,7 +280,10 @@ class EditorModel extends Editor
|
|||
}
|
||||
FileController::setUploadInfo($option->editor_sequence, $upload_target_srl, $option->module_srl ?? 0, $upload_config);
|
||||
|
||||
// Set editor mid
|
||||
// Set editor_mid, which may be different from current_mid on the client side.
|
||||
// While current_mid follows the URL that the user is currently viewing,
|
||||
// editor_mid unambiguously refers to the module to which files should be uploaded.
|
||||
// This difference may be significant when a document from one module is shown in another module.
|
||||
if (!empty($option->module_srl))
|
||||
{
|
||||
$option->mid = ModuleModel::getModuleInfoByModuleSrl($option->module_srl)->mid ?? null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue