Merge pull request #1968 from bjrambo/pr/include-module-set

Fix #1964 통합게시판 사용시 댓글 포인트 지급 오류 고침
This commit is contained in:
Johnny 2022-06-29 19:28:28 +09:00 committed by GitHub
commit 34cd3ebf66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,6 +447,8 @@ class boardController extends board
throw new Rhymix\Framework\Exceptions\TargetNotFound;
}
$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'))
{