mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix first country code being automatically selected in tel_intl type extra var
This commit is contained in:
parent
2507ed550b
commit
73be901e63
1 changed files with 1 additions and 0 deletions
|
|
@ -428,6 +428,7 @@ class ExtraItem
|
|||
$lang_type = Context::get('lang_type');
|
||||
$country_list = Rhymix\Framework\i18n::listCountries($lang_type === 'ko' ? Rhymix\Framework\i18n::SORT_NAME_KOREAN : Rhymix\Framework\i18n::SORT_NAME_ENGLISH);
|
||||
$buff[] = '<select name="' . $column_name . '" class="select rx_ev_select rx_ev_select_country">';
|
||||
$buff[] = ' <option value=""></option>';
|
||||
foreach($country_list as $country_info)
|
||||
{
|
||||
if($country_info->calling_code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue