mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Escape limit_day_description when saving (cf. #2025)
This commit is contained in:
parent
7a2ea796e9
commit
f81245fa8c
1 changed files with 1 additions and 0 deletions
|
|
@ -396,6 +396,7 @@ class memberAdminController extends member
|
|||
$all_args = Context::getRequestVars();
|
||||
|
||||
$args->limit_day = (int)$args->limit_day;
|
||||
$args->limit_day_description = escape(trim(utf8_clean($args->limit_day_description)));
|
||||
if($args->emailhost_check != 'allowed' && $args->emailhost_check != 'prohibited') $args->emailhost_check == 'allowed';
|
||||
|
||||
$args->special_phone_number = preg_replace('/[^0-9]/', '', $args->special_phone_number);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue