Skip to content

Commit

Permalink
regression fix google_maps plugin crashes on addresses with apostroph…
Browse files Browse the repository at this point in the history
…e (bootstrap 3 show order)
  • Loading branch information
dleffler committed Mar 30, 2017
1 parent 11f1b87 commit 4e9bacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/plugins/function.google_map.php
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4e9bacf

Please sign in to comment.