mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
Ensure consistent handling of non-numeric symbols in phone numbers and country codes
This commit is contained in:
parent
2029a6357e
commit
2cde47c5d1
2 changed files with 19 additions and 23 deletions
|
|
@ -568,7 +568,7 @@ class memberAdminView extends member
|
|||
{
|
||||
if($country->calling_code)
|
||||
{
|
||||
$inputTag .= '<option value="' . $country->calling_code . '"' . ($country->calling_code === $match_country ? ' selected="selected"' : '') . '>';
|
||||
$inputTag .= '<option value="' . $country->calling_code . '"' . (str_replace('-', '', $country->calling_code) === $match_country ? ' selected="selected"' : '') . '>';
|
||||
$inputTag .= escape(Context::get('lang_type') === 'ko' ? $country->name_korean : $country->name_english) . ' (+' . $country->calling_code . ')</option>';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue