Unverified Commit e346f969 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

intransit: support HAFAS trains that do not have a type

parent de074342
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ sub add {
				checkin_station_id => $stop->eva,
				checkin_time => DateTime->now( time_zone => 'Europe/Berlin' ),
				dep_platform => $stop->{platform},
				train_type   => $journey->type,
				train_type   => $journey->type // q{},
				train_line   => $journey->line_no,
				train_no     => $journey->number // q{},
				train_id     => $journey->id,