summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen/Controller/Map.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Map.pm b/lib/DBInfoscreen/Controller/Map.pm
index bced612..ef19324 100644
--- a/lib/DBInfoscreen/Controller/Map.pm
+++ b/lib/DBInfoscreen/Controller/Map.pm
@@ -434,7 +434,7 @@ sub route {
ts => ( $journey->route )[-1]->arr,
},
train_no => $journey->number
- ? ( $journey->type . ' ' . $journey->number )
+ ? ( $journey->type // q{} . ' ' . $journey->number )
: undef,
operator => $journey->operator,
next_stop => $next_stop,