summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-11-17 18:49:26 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-11-17 18:49:26 +0100
commitcc588a319ebe8fb6d878a9c7aa02f1c73ee8fc2a (patch)
treea8e33fd22f47830c02fe31c55ba533cf953af7fd
parent1fec4f8daafeefed61357ac9cb8569c1661216ce (diff)
dbris-m: show train number annotations if there is more than one
-rwxr-xr-xbin/dbris-m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dbris-m b/bin/dbris-m
index 65ca2d9..f3a5f4e 100755
--- a/bin/dbris-m
+++ b/bin/dbris-m
@@ -401,7 +401,7 @@ elsif ( $opt{journey} and not( $raw_json_output or $json_output ) ) {
my $prev_trip_no;
if ( scalar $trip->trip_numbers > 1 ) {
- $prev_trip_no = $trip->train_no;
+ $prev_trip_no = q{};
}
for my $stop ( $trip->route ) {