From 3ef3ead013d5fa26b5fffaec253f2eb6255815bd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 22 Sep 2015 19:50:31 +0200 Subject: adjust for HAFAS.pm changes --- index.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.pl b/index.pl index 3acd993..fb01343 100644 --- a/index.pl +++ b/index.pl @@ -96,9 +96,9 @@ helper 'handle_no_results' => sub { my ( $self, $backend, $station, $errstr ) = @_; if ( $backend eq 'ris' ) { - my %db_service = Travel::Status::DE::HAFAS::get_service('DB'); + my $db_service = Travel::Status::DE::HAFAS::get_service('DB'); my $sf = Travel::Status::DE::HAFAS::StopFinder->new( - url => $db_service{stopfinder}, + url => $db_service->{stopfinder}, input => $station, ); my @candidates -- cgit v1.2.3