diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index e7de4dd4d350f4f72a489644457a68a49be9e19d..7876b39f7cc0af00a48ea2898abb29a36371205b 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -267,6 +267,7 @@ sub set_ar { my ( $self, %attrib ) = @_; if ( $attrib{status} and $attrib{status} eq 'c' ) { + $self->{has_realtime} = $self->{arrival_has_realtime} = 1; $self->{arrival_is_cancelled} = 1; } elsif ( $attrib{status} and $attrib{status} eq 'a' ) { @@ -331,6 +332,7 @@ sub set_dp { my ( $self, %attrib ) = @_; if ( $attrib{status} and $attrib{status} eq 'c' ) { + $self->{has_realtime} = $self->{arrival_has_realtime} = 1; $self->{departure_is_cancelled} = 1; } elsif ( $attrib{status} and $attrib{status} eq 'a' ) {