Fixed country name not having a value for XX or any other fallback.
This commit is contained in:
parent
3507ae61ff
commit
9feb6bcb66
1 changed files with 2 additions and 0 deletions
|
@ -318,5 +318,7 @@ function get_country_name(string $code): string {
|
||||||
'ZA' => 'South Africa',
|
'ZA' => 'South Africa',
|
||||||
'ZM' => 'Zambia',
|
'ZM' => 'Zambia',
|
||||||
'ZW' => 'Zimbabwe',
|
'ZW' => 'Zimbabwe',
|
||||||
|
|
||||||
|
default => 'Unknown',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue