summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-24 21:11:45 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-24 21:11:45 +0200
commit9b66e2779d3dc40a0ef04b7d2477d5e37d7f5bd3 (patch)
treef229e0750b5fff6c679a26cb6c94f8abb6bcc225 /lib
parent83a957533177cb42a2147a86982879f10631487e (diff)
geolocation: Fix 'hafas=undefined' links for iris stops
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index eba227f..86f85d8 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -567,6 +567,7 @@ sub geolocation {
lon => $_->[0][3],
lat => $_->[0][4],
distance => $_->[1],
+ hafas => 0,
}
} Travel::Status::DE::IRIS::Stations::get_station_by_location( $lon,
$lat, 10 );