From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] country.cgi: fix location function call
Date: Thu, 24 Dec 2020 09:19:15 +0100 [thread overview]
Message-ID: <68063388-7395-482d-4a0b-6f882836be2c@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
Fixes: #12560
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
html/cgi-bin/country.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
--
2.26.2
reply other threads:[~2020-12-24 8:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68063388-7395-482d-4a0b-6f882836be2c@ipfire.org \
--to=peter.mueller@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox