summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gmap.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap.module b/gmap.module
index 4962e5d..65989f4 100644
--- a/gmap.module
+++ b/gmap.module
@@ -1277,7 +1277,7 @@ function theme_views_view_gmap($view, $nodes) {
$fields = _views_get_fields();
$markers = array();
foreach ($nodes as $node) {
- $node_data = node_load(array('nid'=>$node->nid));
+ $node_data = node_load($node->nid);
$location = $node_data->location;
if (($location['lat']) && ($location['lon'])) {
$marker_label = '';