From 03178c5508a7e42366e581b4b42a2cea3a41bf16 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 27 Jan 2020 21:22:40 +0100 Subject: handle undefined wagon direction --- templates/wagenreihung.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ % } % }
-% if ($wr->has_bad_wagons) { +% if ($wr->has_bad_wagons or not defined $wr->direction) { % } % elsif ($wr->direction == 100) { arrow_downward -- cgit v1.2.3