From c105bc4e40bc60fde622929be73440e1f9d112e7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 15 Jun 2024 10:43:34 +0200 Subject: recent journeys: use hafas=DB as well --- lib/Travelynx/Model/Journeys.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travelynx/Model') diff --git a/lib/Travelynx/Model/Journeys.pm b/lib/Travelynx/Model/Journeys.pm index 280922b..424430c 100755 --- a/lib/Travelynx/Model/Journeys.pm +++ b/lib/Travelynx/Model/Journeys.pm @@ -827,7 +827,7 @@ sub get_latest_checkout_stations { { name => $row->{arr_name}, eva => $row->{arr_eva}, - hafas => ( $row->{train_id} =~ m{[|]} ? 1 : 0 ), + hafas => ( $row->{train_id} =~ m{[|]} ? 'DB' : 0 ), } ); } -- cgit v1.2.3