summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-07 19:18:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-07 19:18:05 +0200
commitedfe4e7acdf50e109bfaadf3d0e4a9b06ae3cc87 (patch)
tree9724476ae773c20c642b3becbc36668658467beb /templates/clean.html.ep
parent1074e38d62c1717e136dab1f5309e2d18f223c5c (diff)
clean tepmlate: fix uninitialized value warning
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>