mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
86783b0270 보완 document의 정보를 따라 module_srl 을 수정
This commit is contained in:
parent
86783b0270
commit
96a65c01fc
1 changed files with 2 additions and 15 deletions
|
|
@ -401,8 +401,7 @@ class boardController extends board
|
|||
|
||||
// get the relevant data for inserting comment
|
||||
$obj = Context::getRequestVars();
|
||||
$obj->module_srl = $this->module_srl;
|
||||
|
||||
|
||||
// Remove disallowed Unicode symbols.
|
||||
if ($this->module_info->filter_specialchars !== 'N')
|
||||
{
|
||||
|
|
@ -448,19 +447,7 @@ class boardController extends board
|
|||
throw new Rhymix\Framework\Exceptions\TargetNotFound;
|
||||
}
|
||||
|
||||
if(isset($module_info->include_modules))
|
||||
{
|
||||
if(intval($oDocument->get('module_srl')) !== intval($obj->module_srl))
|
||||
{
|
||||
$module_info = moduleModel::getModuleInfoByModuleSrl($obj->module_srl);
|
||||
$include_modules = explode(',', $module_info->include_modules);
|
||||
|
||||
if(in_array($obj->module_srl, $include_modules))
|
||||
{
|
||||
$obj->module_srl = $oDocument->get('module_srl');
|
||||
}
|
||||
}
|
||||
}
|
||||
$obj->module_srl = $oDocument->get('module_srl');
|
||||
|
||||
// For anonymous use, remove writer's information and notifying information
|
||||
if($this->module_info->use_anonymous == 'Y' && (!$this->grant->manager || ($this->module_info->anonymous_except_admin ?? 'N') !== 'Y'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue