Active
Project:
Geofield
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Dec 2013 at 16:14 UTC
Updated:
28 Dec 2013 at 16:42 UTC
Jump to comment: Most recent, Most recent file
Using php 5.4, I receive the following warning:
Warning: trim() expects parameter 1 to be string, array given in geofield_proximity_search_validate() (line 325 .../geofield/geofield.elements.inc)
The warning appears on a view with geofield proximity search as exposed filters, and only on initial page load, when search form is not already submitted.
When users then submit the form, no warnings are triggered.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | warning-on-search-form-validate-fix-2163903.patch | 1.14 KB | mxt |
Comments
Comment #1
mxtThis patch resolve the issue for me.