From 4e9bacf658a862895a2d28143eb50402a7e54cf8 Mon Sep 17 00:00:00 2001 From: dleffler Date: Thu, 30 Mar 2017 15:12:53 -0400 Subject: [PATCH] regression fix google_maps plugin crashes on addresses with apostrophe (bootstrap 3 show order) --- framework/plugins/function.google_map.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/plugins/function.google_map.php b/framework/plugins/function.google_map.php index 5be085b60b..6bbd0605cd 100644 --- a/framework/plugins/function.google_map.php +++ b/framework/plugins/function.google_map.php @@ -68,7 +68,7 @@ function smarty_function_google_map($params,&$smarty) { $(document).ready(function() { geocoder.geocode({ - address: '" . $address_string . "' + address: '" . expString::escape($address_string) . "' }, function(results, status) { if (status === google.maps.GeocoderStatus.OK) {