mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Fix #629 typo in configuration name 'only_commnet'
오타 설정이 저장된 사이트에 영향을 주지 않기 위해 문자열 그대로 비교하지 않고 라이믹스 내장 starts_with() 함수로 앞부분만 비교하도록 변경함.
This commit is contained in:
parent
40c43e8fa0
commit
4d22112582
2 changed files with 2 additions and 2 deletions
|
|
@ -527,7 +527,7 @@ class boardController extends board
|
|||
$comment->status = 7;
|
||||
$output = $oCommentController->updateCommentByDelete($comment, $this->grant->manager);
|
||||
}
|
||||
elseif($this->module_info->comment_delete_message === 'only_commnet' && $instant_delete != 'Y')
|
||||
elseif(starts_with('only_comm', $this->module_info->comment_delete_message) && $instant_delete != 'Y')
|
||||
{
|
||||
$childs = $oCommentModel->getChildComments($comment_srl);
|
||||
if(count($childs) > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue