projects
/
project/gmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f65f20c
)
Fix warning.
author
Brandon Bergren
Wed, 10 Dec 2008 15:28:59 +0000 (15:28 +0000)
committer
Brandon Bergren
Wed, 10 Dec 2008 15:28:59 +0000 (15:28 +0000)
gmap_location.module
patch
|
blob
|
blame
|
history
diff --git
a/gmap_location.module
b/gmap_location.module
index
1541daa
..
59b169c
100644
(file)
--- a/
gmap_location.module
+++ b/
gmap_location.module
@@
-235,7
+235,7
@@
function gmap_location_node_page($nid = NULL) {
$map['rmtcallback'] = url('map/node/load');
$map['markermode'] = $nodemap['markermode'];
- if (!is_array($map['markers'])) {
+ if (!isset($map['markers']) || !is_array($map['markers'])) {
$map['markers'] = array();
}