summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-05 21:35:08 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-05 21:35:08 +0100
commit9e073a0fe848b79721c950a0c76612d4e384bc75 (patch)
tree4f99a965c32ede27ba1e05f3a2079c8307b1bebd /lib
parentc04e58a8e46b73f8befe870fffdaff9bd9b3edfc (diff)
Traveling: work around empty evas list in HAFAS result
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
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},