summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-10-05 04:36:00 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-10-05 04:36:00 +0200
commit09e73c73ca20c19af3461eff6c5ce27bd1ea9120 (patch)
tree7b59e224de2c3f0118b253e3332269145b92fc45
parentc808d938c78ef8dea89bee8fee3632497fd5e170 (diff)
EFA: fix place_candidates
-rw-r--r--lib/Travel/Status/DE/EFA.pm2
1 files changed, 1 insertions, 1 deletions
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;
}