Closed dmolineus closed 3 years ago
When creating a geocode query with '0' as text, the value is handled as invalid character. '0' though can be a valid query, e.g. when querying for postal codes. The issue here is the usage of empty().
'0'
empty()
$query = \Geocoder\Query\GeocodeQuery::create('0');
Good point, thanks @dmolineus !
I'll create a PR to fix this later today.
When creating a geocode query with
'0'
as text, the value is handled as invalid character.'0'
though can be a valid query, e.g. when querying for postal codes. The issue here is the usage ofempty()
.