Skip to content

Commit

Permalink
Fix #1913 set empty string for refused_reason and limited_reason if n…
Browse files Browse the repository at this point in the history
…o value is submitted
  • Loading branch information
kijin committed Mar 28, 2022
1 parent 5e2d517 commit 5ab25a9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/member/member.admin.controller.php
Expand Up @@ -101,10 +101,7 @@ function procMemberAdminInsert()
}
foreach($this->admin_extra_vars as $key)
{
if (isset($all_args->{$key}))
{
$extra_vars->{$key} = escape(utf8_clean($all_args->{$key}));
}
$extra_vars->{$key} = escape(utf8_clean($all_args->{$key} ?? ''));
}
$args->extra_vars = serialize($extra_vars);

Expand Down

0 comments on commit 5ab25a9

Please sign in to comment.