Fixed country name not having a value for XX or any other fallback.

This commit is contained in:
Pachira 2023-07-05 23:12:44 +00:00
parent 3507ae61ff
commit 9feb6bcb66

View file

@ -318,5 +318,7 @@ function get_country_name(string $code): string {
'ZA' => 'South Africa',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe',
default => 'Unknown',
};
}