summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index fb778dd..4af9ff4 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -984,7 +984,7 @@ sub handle_request {
? $result->departure->strftime('%H:%M')
: undef,
train => $result->train,
- train_type => $result->type,
+ train_type => $result->type // '',
train_line => $result->line_no,
train_no => $result->train_no,
via => [ $result->route_interesting(3) ],