]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
country.cgi: fix location function call
authorPeter Müller <peter.mueller@ipfire.org>
Thu, 24 Dec 2020 08:19:15 +0000 (09:19 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Dec 2020 11:59:08 +0000 (11:59 +0000)
Fixes: #12560
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/country.cgi

index b1c72bb2232ea09465c23617610231f98e1590c4..35fa93113c205139a69d022ba4b7caa322827327 100644 (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) {