Skip to content
Snippets Groups Projects
Commit 5413361c authored by Brandon Bergren's avatar Brandon Bergren
Browse files

#330343, reported by fabio84 and also by epimeth in irc: Make script url valid...

#330343, reported by fabio84 and also by epimeth in irc: Make script url valid again, I forgot that url() returns raw ampersands.
parent 684efc47
No related branches found
No related tags found
No related merge requests found
...@@ -259,7 +259,7 @@ drupal_add_js($gmap_path .'/js/poly.js'); ...@@ -259,7 +259,7 @@ drupal_add_js($gmap_path .'/js/poly.js');
'key' => gmap_get_key(), 'key' => gmap_get_key(),
'hl' => $language->language, 'hl' => $language->language,
); );
drupal_set_html_head('<script src="'. url('http://maps.google.com/maps', array('query' => $query)) .'" type="text/javascript"></script>'); drupal_set_html_head('<script src="'. check_url(url('http://maps.google.com/maps', array('query' => $query))) .'" type="text/javascript"></script>');
$gmap_initialized = TRUE; $gmap_initialized = TRUE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment