acf-location-field icon indicating copy to clipboard operation
acf-location-field copied to clipboard

Empty Location Value Returns Error

Open alexhernandez opened this issue 11 years ago • 0 comments

When I leave the location field value blank I get this error.

Notice: Undefined offset: 1 in /home/content/60/10635260/html/wp-content/plugins/advanced-custom-fields-location-field-add-on/location-field.php on line 393

However, if I add a value I get no error.

How can I avoid an error when I have no location to populate field?

alexhernandez avatar Apr 29 '13 08:04 alexhernandez