summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index dd1308a..37b1c3c 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -31,7 +31,7 @@
% if ($status->{departure_countdown} > 120) {
Abfahrt in <%= int($status->{departure_countdown} / 60) %> Minuten
% }
- % elsif ($status->{arrival_countdown}) {
+ % elsif (defined $status->{arrival_countdown}) {
% if ($status->{arrival_countdown} > 0) {
Ankunft in <%= int($status->{arrival_countdown} / 60) %>
Minute<%= int($status->{arrival_countdown} / 60) == 1 ? '' : 'n' %>