Commit 8bf1dd35 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

wagenreihung.html.ep: $wr may be undef

parent 27cb1fc9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
% if ($wr->errstr) {
% if (not $wr or $wr->errstr) {
  <div class="container">
    <div class="error">
      <strong>Fehler bei der Abfrage der Wagenreihung:</strong>
      <%= $wr->errstr %>
      <%= $wr ? $wr->errstr : $wr_error %>
    </div>
  </div>
% }