country.cgi: fix location function call

Message ID 68063388-7395-482d-4a0b-6f882836be2c@ipfire.org
State Accepted
Commit 4ed49291c2eb23e7043721ed55f07c0135440dcb
Headers
Series country.cgi: fix location function call |

Commit Message

Peter Müller Dec. 24, 2020, 8:19 a.m. UTC
  Fixes: #12560

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 html/cgi-bin/country.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/html/cgi-bin/country.cgi b/html/cgi-bin/country.cgi
index b1c72bb22..35fa93113 100644
--- a/html/cgi-bin/country.cgi
+++ b/html/cgi-bin/country.cgi
@@ -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) {