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

Fix warning.

parent f65f20c2
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,7 @@ function gmap_location_node_page($nid = NULL) { ...@@ -235,7 +235,7 @@ function gmap_location_node_page($nid = NULL) {
$map['rmtcallback'] = url('map/node/load'); $map['rmtcallback'] = url('map/node/load');
$map['markermode'] = $nodemap['markermode']; $map['markermode'] = $nodemap['markermode'];
if (!is_array($map['markers'])) { if (!isset($map['markers']) || !is_array($map['markers'])) {
$map['markers'] = array(); $map['markers'] = array();
} }
......
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