summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl4
1 files 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