mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
Fix missing encoding of HTML elements in group title and description
This commit is contained in:
parent
180be3df95
commit
e37ca7c702
1 changed files with 4 additions and 0 deletions
|
|
@ -1358,6 +1358,8 @@ class MemberAdminController extends Member
|
||||||
}
|
}
|
||||||
$args->group_srl = !empty($args->group_srl) ? $args->group_srl : getNextSequence();
|
$args->group_srl = !empty($args->group_srl) ? $args->group_srl : getNextSequence();
|
||||||
$args->list_order = $args->list_order ?? $args->group_srl;
|
$args->list_order = $args->list_order ?? $args->group_srl;
|
||||||
|
$args->title = escape($args->title);
|
||||||
|
$args->description = escape($args->description);
|
||||||
|
|
||||||
$output = executeQuery('member.insertGroup', $args);
|
$output = executeQuery('member.insertGroup', $args);
|
||||||
if ($output->toBool())
|
if ($output->toBool())
|
||||||
|
|
@ -1407,6 +1409,8 @@ class MemberAdminController extends Member
|
||||||
$output = executeQuery('member.updateGroupDefaultClear', $args);
|
$output = executeQuery('member.updateGroupDefaultClear', $args);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
}
|
}
|
||||||
|
$args->title = isset($args->title) ? escape($args->title) : null;
|
||||||
|
$args->description = isset($args->description) ? escape($args->description) : null;
|
||||||
|
|
||||||
$output = executeQuery('member.updateGroup', $args);
|
$output = executeQuery('member.updateGroup', $args);
|
||||||
if ($output->toBool())
|
if ($output->toBool())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue