mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #1964 통합게시판 사용시 댓글 포인트 지급 오류 고침
This commit is contained in:
parent
73f2034403
commit
86783b0270
1 changed files with 14 additions and 0 deletions
|
|
@ -448,6 +448,20 @@ 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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 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