Skip to content

Commit

Permalink
Fix geonames import
Browse files Browse the repository at this point in the history
Closes #374
  • Loading branch information
andrew-gardener committed Jan 9, 2025
1 parent 96aeec6 commit 67036db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/GeonamesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function importSaveAction(Request $request, EntityManagerInterface $em) {
$client = new GeoNamesClient($user);
$repo = $em->getRepository(Geonames::class);

foreach ($request->request->get('geonameid') as $geonameid) {
foreach ($request->request->all('geonameid') as $geonameid) {
$data = $client->get([
'geonameId' => $geonameid,
'lang' => 'en',
Expand Down

0 comments on commit 67036db

Please sign in to comment.