From 09e73c73ca20c19af3461eff6c5ce27bd1ea9120 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 5 Oct 2024 04:36:00 +0200 Subject: EFA: fix place_candidates --- lib/Travel/Status/DE/EFA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 2fdaefc..fd37756 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -379,7 +379,7 @@ sub check_for_ambiguous { } if ( $m->{name} eq 'error' and $m->{value} eq 'place list' ) { $self->{errstr} = "ambiguous name parameter"; - $self->{name_candidates} + $self->{place_candidates} = [ map { $_->{name} } @{ $json->{dm}{points} // [] } ]; return; } -- cgit v1.2.3