Closed moollaza closed 10 years ago
When we use the Location API to infer the users location, we simply join the values assuming they have a value, which causes a broken search.
https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Snow.pm#L40
If the city or region is defined, we should just bail and not make a useless request.
Fixed by #408
When we use the Location API to infer the users location, we simply join the values assuming they have a value, which causes a broken search.
https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Snow.pm#L40
If the city or region is defined, we should just bail and not make a useless request.