country.cgi: fix location function call

Fixes: #12560

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Peter Müller
2020-12-24 09:19:15 +01:00
committed by Michael Tremer
parent d96d979e2a
commit 4ed49291c2

View File

@@ -53,7 +53,7 @@ print<<END;
END
# Get a list of all supported country codes.
my @countries = &Location::database_countries();
my @countries = &Location::Functions::get_locations();
# Loop through whole country list.
foreach my $country (@countries) {