mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Fix double escape of lang code in member group title #2459
This commit is contained in:
parent
19e8c367ac
commit
0e9c44387c
1 changed files with 2 additions and 2 deletions
|
|
@ -1357,7 +1357,7 @@ class MemberAdminController extends Member
|
|||
}
|
||||
$args->group_srl = !empty($args->group_srl) ? $args->group_srl : getNextSequence();
|
||||
$args->list_order = $args->list_order ?? $args->group_srl;
|
||||
$args->title = escape($args->title);
|
||||
$args->title = escape($args->title, false, true);
|
||||
$args->description = escape($args->description);
|
||||
|
||||
$output = executeQuery('member.insertGroup', $args);
|
||||
|
|
@ -1408,7 +1408,7 @@ class MemberAdminController extends Member
|
|||
$output = executeQuery('member.updateGroupDefaultClear', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
$args->title = isset($args->title) ? escape($args->title) : null;
|
||||
$args->title = isset($args->title) ? escape($args->title, false, true) : null;
|
||||
$args->description = isset($args->description) ? escape($args->description) : null;
|
||||
|
||||
$output = executeQuery('member.updateGroup', $args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue