summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 71c3def..1318043 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -79,6 +79,11 @@ sub handle_request {
if ( @platforms and not grep { $_ eq $platform } @platforms ) {
next;
}
+ my $info = $result->info;
+
+ if ($info eq '+0') {
+ $info = undef;
+ }
push(
@departures,
{
@@ -87,7 +92,7 @@ sub handle_request {
via => [ $result->route_interesting(3) ],
destination => $result->destination,
platform => $platform,
- info => $result->info,
+ info => $info,
}
);
}