Skip to content
Snippets Groups Projects
Commit 4f393dfb 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 cf0a1f20
Branches
Tags 2.0.0-beta2
No related merge requests found
Pipeline #88122 passed with warnings
......@@ -228,7 +228,7 @@ function geocoder_field_entity_presave(EntityInterface $entity) {
$providers = GeocoderProvider::loadMultiple($geocoder['providers']);
// 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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment