mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Add option to allow selecting no category
관리자 이외의 사용자가 글을 쓸 때 분류를 선택하지 않아도 되도록 허용하는 옵션 추가 (기본값: 허용하지 않음)
This commit is contained in:
parent
2c64e16bd2
commit
eb3108b446
5 changed files with 19 additions and 2 deletions
|
|
@ -170,6 +170,7 @@ class boardAdminController extends board {
|
|||
}
|
||||
|
||||
$module_info->hide_category = Context::get('hide_category') == 'Y' ? 'Y' : 'N';
|
||||
$module_info->allow_no_category = Context::get('allow_no_category') == 'Y' ? 'Y' : 'N';
|
||||
$oModuleController = getController('module'); /* @var $oModuleController moduleController */
|
||||
$output = $oModuleController->updateModule($module_info);
|
||||
if(!$output->toBool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue