diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-05 21:35:08 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-05 21:35:08 +0100 |
commit | 9e073a0fe848b79721c950a0c76612d4e384bc75 (patch) | |
tree | 4f99a965c32ede27ba1e05f3a2079c8307b1bebd | |
parent | c04e58a8e46b73f8befe870fffdaff9bd9b3edfc (diff) |
Traveling: work around empty evas list in HAFAS result
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}, |