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

Journey: fix is_cancelled in station board mode

parent 053b68dc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -185,9 +185,11 @@ sub new {
	if ( $journey->{stbStop} ) {
		if ( $hafas->{arrivals} ) {
			$ref->{origin} = $ref->{route_end};
			$ref->{is_cancelled} ||= $journey->{stbStop}{aCncl};
		}
		else {
			$ref->{destination} = $ref->{route_end};
			$ref->{is_cancelled} ||= $journey->{stbStop}{dCncl};
		}
	}
	else {