Closed (fixed)
Project:
Google Maps Tools
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2008 at 23:06 UTC
Updated:
13 Dec 2008 at 08:12 UTC
I have a content type with a Geocoded address. Every time I submit a new node I get the following warning:
warning: Invalid argument supplied for foreach() in D:\www\vhosts\tlc2.tld\sites\all\modules\gmaps\gmaps_content.module on line 2662.
Line 2662 is foreach($address as $key => $value) {
This warning seems to not cause any malfunctions but I would like to know what is going on.
Thanks
Comments
Comment #1
xmarket commentedSomethink wrong in the token integration. (I couldn't find the bug yet...)
To remove the warning do this:
foreach((array)$address as $key => $value) {
Comment #2
xmarket commented