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

Critical: Fix 'center' parsing that I broke in the last snapshot!

parent fe304df8
No related branches found
No related tags found
No related merge requests found
...@@ -449,7 +449,7 @@ function gmap_parse_macro($instring, $ver = 2) { ...@@ -449,7 +449,7 @@ function gmap_parse_macro($instring, $ver = 2) {
} }
// Center -> latitude and longitude // Center -> latitude and longitude
if (isset($m['center']) && is_array($m['center'])) { if (isset($m['center']) && $m['center']) {
list($m['latitude'], $m['longitude']) = explode(',', $m['center']); list($m['latitude'], $m['longitude']) = explode(',', $m['center']);
unset($m['center']); unset($m['center']);
} }
......
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