summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-27 21:22:40 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-27 21:22:40 +0100
commit03178c5508a7e42366e581b4b42a2cea3a41bf16 (patch)
tree0ff886dda2d276168439953e181a852616ca5cf1 /templates/wagenreihung.html.ep
parentaa49349c50e2484f7fd48cfb63cf6848052ea437 (diff)
handle undefined wagon direction2.5.14
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 2c63c0e..53be3a1 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -101,7 +101,7 @@
% }
% }
<div class="direction">
-% if ($wr->has_bad_wagons) {
+% if ($wr->has_bad_wagons or not defined $wr->direction) {
% }
% elsif ($wr->direction == 100) {
<i class="material-icons">arrow_downward</i>