GoogleMap: Extra addslashes()
Brought to you by:
canajun2eh,
yalnifj
The Googlemap for an individual wasn't displaying and I tracked the problem down to some double-quotes in a fact that weren't being correctly escaped. I fixed the problem by adding extra "addslashes()" calls in two places, both in the module file "googlemap.php" (svn 5318).
Line 737 was changed to:
echo ": ".addslashes($markers[$j]['info']);
That fixed my problem. I also changed line 791 to:
echo ": {".addslashes($markers[$j]['info'])."}";
As it is very similar.
Thank you. The correction has been applied to SVN 5958, but in a slightly different form.
OK. Thanks!
This patch has been merged into the code and was included in the
lastest final version release.
Please download the newest release.
Thanks