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

This commit is contained in:
flash 2023-07-05 23:12:44 +00:00
parent f9edc5b9cf
commit 1bd12b9a0b

View file

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