From 9e073a0fe848b79721c950a0c76612d4e384bc75 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 5 Mar 2024 21:35:08 +0100 Subject: [PATCH] Traveling: work around empty evas list in HAFAS result --- lib/Travelynx/Controller/Traveling.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 7b25e9f..7519cf6 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -975,7 +975,7 @@ sub station { } $status->results; $self->stations->add_meta( eva => $status->station->{eva}, - meta => $status->station->{evas} + meta => $status->station->{evas} // [] ); $status = { station_eva => $status->station->{eva},