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