From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] tor.cgi: fix location function call again Date: Tue, 01 Dec 2020 21:45:43 +0000 Message-ID: <20201201214543.26900-1-peter.mueller@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3642735662356483587==" List-Id: --===============3642735662356483587== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This line was accidentially messed up while merging two patchsets together, causing tor.cgi to crash with an HTTP error 500 in testing. Signed-off-by: Peter M=C3=BCller --- html/cgi-bin/tor.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index fe91ed399..ea340b612 100644 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -340,7 +340,7 @@ END @guard_countries =3D split(/\|/, $settings{'TOR_GUARD_COUNTRY'}); } =20 - my @country_codes =3D &Location::database_countries($db_handle); + my @country_codes =3D &Location::Functions::get_locations("no_special_loca= tions"); foreach my $country_code (@country_codes) { # Convert country code into upper case format. $country_code =3D uc($country_code); --=20 2.20.1 --===============3642735662356483587==--