mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Cleanup related to phone country change
This commit is contained in:
parent
0e9ce525da
commit
1db4a9d752
9 changed files with 60 additions and 8 deletions
|
|
@ -3366,12 +3366,12 @@ class memberController extends member
|
|||
$phone_country_calling_code = preg_replace('/[^0-9]/', '', Rhymix\Framework\i18n::getCallingCodeByCountryCode($phone_country));
|
||||
if (!$phone_country_calling_code)
|
||||
{
|
||||
return new BaseObject(-1, 'msg_invalid_phone_number');
|
||||
return new BaseObject(-1, 'msg_invalid_phone_country');
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return new BaseObject(-1, 'msg_invalid_phone_number');
|
||||
return new BaseObject(-1, 'msg_invalid_phone_country');
|
||||
}
|
||||
|
||||
if (!preg_match('/[0-9]{2,}/', $phone_number))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue