mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
Save phone number and country info
This commit is contained in:
parent
b37e70a41e
commit
1ee59e4196
3 changed files with 58 additions and 5 deletions
|
|
@ -46,6 +46,10 @@ class memberAdminController extends member
|
|||
foreach($getVars as $val)
|
||||
{
|
||||
$args->{$val} = Context::get($val);
|
||||
if ($val === 'phone_number')
|
||||
{
|
||||
$args->phone_country = trim(preg_replace('/[^0-9-]/', '', Context::get('phone_country')), '-');
|
||||
}
|
||||
}
|
||||
$member_srl = Context::get('member_srl');
|
||||
// Check if an original member exists having the member_srl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue