mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Fix allow_no_category being overwritten on module config change
This commit is contained in:
parent
1a234070ca
commit
1280f6a0a0
1 changed files with 2 additions and 0 deletions
|
|
@ -63,10 +63,12 @@ class boardAdminController extends board {
|
|||
// insert/update the board module based on module_srl
|
||||
if(!$args->module_srl) {
|
||||
$args->hide_category = 'N';
|
||||
$args->allow_no_category = 'N';
|
||||
$output = $oModuleController->insertModule($args);
|
||||
$msg_code = 'success_registed';
|
||||
} else {
|
||||
$args->hide_category = $module_info->hide_category;
|
||||
$args->allow_no_category = $module_info->allow_no_category;
|
||||
$output = $oModuleController->updateModule($args);
|
||||
$msg_code = 'success_updated';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue