Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix address search when results are empty #3837

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

laurentj
Copy link
Collaborator

Sometimes api-adresse.data.gouv.fr doesn't return a "features" array and it causes PHP errors. The JSON content should be checked before processing list of features.

Funded by 3Liz

Sometimes api-adresse.data.gouv.fr doesn't return a "features" array
and it causes PHP errors. The JSON content should be checked before
processing list of features.
Copy link
Collaborator

@mdouchin mdouchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@laurentj laurentj merged commit 6cc3585 into 3liz:master Aug 11, 2023
13 checks passed
@laurentj laurentj deleted the fix-empty-ban-search branch May 7, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants