|
@@ -56,10 +56,10 @@ function getCountryMobile($countryCode){
|
|
|
$country=$lists['iso3_code'];
|
|
|
$countrys =array_keys($countrys_en,$country,true);
|
|
|
}
|
|
|
- if($countrys[0]){
|
|
|
+ if(isset($countrys[0])){
|
|
|
$countryMobile =getCountryCode($countrys[0]);
|
|
|
}else{
|
|
|
- $countryMobile ='+1';
|
|
|
+ $countryMobile ='+9';
|
|
|
}
|
|
|
$countryMobile = str_replace('+','',$countryMobile);
|
|
|
return (int)$countryMobile;
|