diff options
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Stop.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/HAFAS/Stop.pm b/lib/Travel/Status/DE/HAFAS/Stop.pm index 81fa170..acee919 100644 --- a/lib/Travel/Status/DE/HAFAS/Stop.pm +++ b/lib/Travel/Status/DE/HAFAS/Stop.pm @@ -41,8 +41,10 @@ sub new { # dIn. / aOut. -> may passengers enter / exit the train? - my $sched_platform = $stop->{aPlatfS} // $stop->{dPlatfS}; - my $rt_platform = $stop->{aPlatfR} // $stop->{dPlatfR}; + my $sched_platform = $stop->{aPlatfS} // $stop->{dPlatfS} + // $stop->{aPltfS}{txt} // $stop->{dPltfS}{txt}; + my $rt_platform = $stop->{aPlatfR} // $stop->{dPlatfR} + // $stop->{aPltfR}{txt} // $stop->{dPltfR}{txt}; my $changed_platform = $stop->{aPlatfCh} // $stop->{dPlatfCh}; my $arr_cancelled = $stop->{aCncl}; |