mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Set proper module_srl and mid when uploading in member and communication modules
This commit is contained in:
parent
f6a02fd006
commit
e1cfb09652
5 changed files with 82 additions and 3 deletions
|
|
@ -293,6 +293,12 @@ class CommunicationView extends communication
|
|||
{
|
||||
$option->editor_toolbar_hide = 'Y';
|
||||
}
|
||||
if ($option->allow_fileupload)
|
||||
{
|
||||
$oMemberView = MemberView::getInstance();
|
||||
$option->module_srl = $oMemberView->getMemberModuleSrl();
|
||||
$option->mid = $oMemberView->getMemberModulePrefix();
|
||||
}
|
||||
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
|
||||
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";
|
||||
Context::set('editor', $editor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue