From: Peter Müller Date: Tue, 1 Dec 2020 21:45:43 +0000 (+0000) Subject: tor.cgi: fix location function call again X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=848911b24757d6367e325985f860fbf73f811875;p=people%2Fmfischer%2Fipfire-2.x.git tor.cgi: fix location function call again 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üller Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index fe91ed399b..ea340b6121 100644 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -340,7 +340,7 @@ END @guard_countries = split(/\|/, $settings{'TOR_GUARD_COUNTRY'}); } - my @country_codes = &Location::database_countries($db_handle); + my @country_codes = &Location::Functions::get_locations("no_special_locations"); foreach my $country_code (@country_codes) { # Convert country code into upper case format. $country_code = uc($country_code);