summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-wagenreihung2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-wagenreihung b/bin/db-wagenreihung
index a885953..959e217 100755
--- a/bin/db-wagenreihung
+++ b/bin/db-wagenreihung
@@ -65,7 +65,7 @@ if ( @trains != 1 ) {
}
my $wr = Travel::Status::DE::DBWagenreihung->new(
- departure => $trains[0]->sched_departure,
+ departure => $trains[0]->sched_departure || $trains[0]->sched_arrival,
developer_mode => $developer_mode,
train_number => $train_number,
);