For locations with double quotes f.e. in name its caused to fault.
Fix is trivial:
| Code: |
$ svn diff
Index: utils.php
===================================================================
--- utils.php (revision 69)
+++ utils.php (working copy)
@@ -845,7 +845,7 @@
echo "hsIcon.image = '". $hs_icon2 . "';\n";
}
- echo "markerOptions = {title:\"" . $row->name . "\", icon:hsIcon };\n\n";
+ echo "markerOptions = {title:\"" . addslashes($row->name) . "\", icon:hsIcon };\n\n";
if (HotspotsHelper::getSettings(map_overlay_div, 1) == 0) {
|