Loading lib/Travel/Status/DE/HAFAS/Journey.pm +2 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
lib/Travel/Status/DE/HAFAS/Journey.pm +2 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading