Skip to content
Snippets Groups Projects
Commit 97897716 authored by mylies's avatar mylies Committed by Italo Mairo
Browse files

Issue #3419282 by myLies: [geocoder_geofield] FieldItemList usage as a string

Rolling back in this change: aac25b72
parent 3d3a83b4
Branches
Tags
No related merge requests found
...@@ -228,7 +228,7 @@ function geocoder_field_entity_presave(EntityInterface $entity) { ...@@ -228,7 +228,7 @@ function geocoder_field_entity_presave(EntityInterface $entity) {
$providers = GeocoderProvider::loadMultiple($geocoder['providers']); $providers = GeocoderProvider::loadMultiple($geocoder['providers']);
// Skip Geocode/Reverse Geocode op is so requested for not empty value. // Skip Geocode/Reverse Geocode op is so requested for not empty value.
if (isset($geocoder['skip_not_empty_value']) && $geocoder['skip_not_empty_value'] && strlen($default_values) !== 0) { if (isset($geocoder['skip_not_empty_value']) && $geocoder['skip_not_empty_value'] && isset($default_values) && !$default_values->isEmpty()) {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment