mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
Adjust CGI files to work with latest location-function.pl changes.
Fixes #12515. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
427190d578
commit
07e42be978
@@ -52,11 +52,8 @@ print<<END;
|
||||
</tr>
|
||||
END
|
||||
|
||||
# Init libloc database connection.
|
||||
my $db_handle = &Location::Functions::init();
|
||||
|
||||
# Get a list of all supported country codes.
|
||||
my @countries = &Location::database_countries($db_handle);
|
||||
my @countries = &Location::database_countries();
|
||||
|
||||
# Loop through whole country list.
|
||||
foreach my $country (@countries) {
|
||||
|
||||
Reference in New Issue
Block a user