From e19fc507c5f333c4c86ec8fe11389ef3b054ee44 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 1 Nov 2014 20:09:23 +0100 Subject: index: only show canceled stops if the train itself isn't canceled --- index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.pl b/index.pl index 901ac32..a495f08 100644 --- a/index.pl +++ b/index.pl @@ -204,7 +204,7 @@ sub handle_request { } $info .= $qosmsg; - if ( $result->canceled_stops ) { + if ( $result->canceled_stops and not $result->is_cancelled ) { my $cancel_line = join( q{, }, $result->canceled_stops ); $info = 'Ohne Halt in: ' -- cgit v1.2.3