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

Journey: only set route_start if it is known

parent 04675008
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ sub new {
		}
		$ref->{is_additional} = $journey->{stbStop}{isAdd};
	}
	else {
	elsif ( $stops[0]{loc} ) {
		$ref->{route_start} = $stops[0]{loc}->name;
	}