Skip to content

Commit

Permalink
Traveling: work around empty evas list in HAFAS result
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Mar 5, 2024
1 parent c04e58a commit 9e073a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Travelynx/Controller/Traveling.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 9e073a0

Please sign in to comment.