diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2023-02-05 12:39:33 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2023-02-05 12:39:33 +0100 | 
| commit | 30df90e0617e26b680f37f21696781118974bf22 (patch) | |
| tree | fe4b3aadec09f4ecba5f1e033d430b118d2c17a7 /lib/DBInfoscreen/Controller | |
| parent | 163e0ffdd560896edb5f91a602f5b1586f46f110 (diff) | |
hafas: show cancellation in detail page4.15.5
Diffstat (limited to 'lib/DBInfoscreen/Controller')
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 39b3a3d..04b0ba3 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1183,6 +1183,8 @@ sub train_details {  					  = $station_info->{arr_cancelled};  					$res->{departure_is_cancelled}  					  = $station_info->{dep_cancelled}; +					$res->{is_cancelled} = $res->{arrival_is_cancelled} +					  || $res->{arrival_is_cancelled};  				}  			} | 
