mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
Fix phone country not being saved in admin edit screen
This commit is contained in:
parent
25162f9041
commit
9a049c9064
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class memberAdminController extends member
|
|||
$args->{$val} = Context::get($val);
|
||||
if ($val === 'phone_number')
|
||||
{
|
||||
$args->phone_country = trim(preg_replace('/[^0-9-]/', '', Context::get('phone_country')), '-');
|
||||
$args->phone_country = preg_replace('/[^A-Z]/', '', Context::get('phone_country'));
|
||||
}
|
||||
}
|
||||
$member_srl = Context::get('member_srl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue