mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix category color not being updated when set to empty value
This commit is contained in:
parent
0501671271
commit
2df0474a06
1 changed files with 1 additions and 1 deletions
|
|
@ -2734,7 +2734,7 @@ class DocumentController extends Document
|
|||
if(!$args) $args = Context::gets('module_srl','category_srl','parent_srl','category_title','category_description','expand','is_default','group_srls','category_color','mid');
|
||||
$args->title = trim($args->category_title);
|
||||
$args->description = trim($args->category_description);
|
||||
$args->color = $args->category_color;
|
||||
$args->color = trim($args->category_color);
|
||||
$args->expand = (isset($args->expand) && $args->expand === 'Y') ? 'Y' : 'N';
|
||||
$args->is_default = (isset($args->is_default) && $args->is_default === 'Y') ? 'Y' : 'N';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue