summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index a495f08..14c5381 100644
--- a/index.pl
+++ b/index.pl
@@ -214,6 +214,12 @@ sub handle_request {
push( @{$moreinfo}, [ 'Ohne Halt in', $cancel_line ] );
}
+ if ( $result->additional_stops and not $result->is_cancelled ) {
+ my $additional_line = join( q{, }, $result->additional_stops );
+ push( @{$moreinfo},
+ [ 'Zusätzliche Halte', $additional_line ] );
+ }
+
push( @{$moreinfo}, $result->messages );
}
else {