summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-11-01 20:09:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-11-01 20:09:23 +0100
commite19fc507c5f333c4c86ec8fe11389ef3b054ee44 (patch)
tree8868dbd7d01012d5c2c3ee0c50fc64a43b4b5d4a
parent1602007dbb5644ea68b80ad3ba40f8a8aad8bca7 (diff)
index: only show canceled stops if the train itself isn't canceled
-rw-r--r--index.pl2
1 files changed, 1 insertions, 1 deletions
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: '