summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clean.html.ep')
-rw-r--r--templates/clean.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index bc9579c..69a8730 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -52,7 +52,7 @@
% if ($departure->{is_cancelled}) {
<div class="minfo">Fahrt fällt aus</div>
% }
-% elsif ($departure->{delay} > 0) {
+% elsif (defined $departure->{delay} and $departure->{delay} > 0) {
<div class="minfo">+<%= $departure->{delay} %></div>
% }
</div>