diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-10 12:17:51 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-10 12:17:51 +0200 |
commit | 2a9ca113cf5b83d2cadc4814be24a4deeae22d6d (patch) | |
tree | e125f66cae0040f2e3a5f3b754618e15c5202a80 /index.pl | |
parent | 0b4e9b6b25a12f9320938e18786a31b501c17d12 (diff) |
hafas backend: use 'city stop', not 'stop, city' for less confusion
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ sub get_results { my $status; if ( $backend eq 'hafas' ) { $status = Travel::Status::DE::HAFAS->new( - station => "${stop}, ${city}", + station => ( $city ? "${city} ${stop}" : $stop ), excluded_mots => [qw[ice ic_ec d regio]], service => $sub_backend, ); |