Set editor_mid automatically based on module_srl

This commit is contained in:
Kijin Sung 2023-11-03 16:42:56 +09:00
parent e1cfb09652
commit 990343d906
5 changed files with 7 additions and 29 deletions

View file

@ -295,9 +295,7 @@ class CommunicationView extends communication
}
if ($option->allow_fileupload)
{
$oMemberView = MemberView::getInstance();
$option->module_srl = $oMemberView->getMemberModuleSrl();
$option->mid = $oMemberView->getMemberModulePrefix();
$option->module_srl = MemberView::getInstance()->getMemberModuleSrl();
}
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";