From cc47175ef60ad5b13182c8049e6530907924e8de Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 15 Jun 2025 17:32:03 +0200 Subject: _train_details: fix uninitialized value warning --- templates/_train_details.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 62abc80..2c18da2 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -155,7 +155,7 @@ <%= $departure->{wr_text} || 'Wagen' %> % } -% if ($departure->{trip_id} and param('dbris') eq 'bahn.de') { +% if ($departure->{trip_id} and param('dbris') and param('dbris') eq 'bahn.de') { Details % } elsif ($departure->{train_type} and $departure->{train_no} and (not param('hafas') or param('hafas') eq 'DB')) { Details -- cgit v1.2.3