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

DBRIS trains may come without a type

Closes #221
parent 2a7f9400
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,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   => $line,
				train_no     => $journey->number,
				train_id     => $data->{trip_id},