Skip to content
Snippets Groups Projects
Commit 4a48a94e authored by webgeer's avatar webgeer
Browse files

http://drupal.org/node/72576 huge DOH!!!! sorry about that

parent 57ab1a7d
No related branches found
No related tags found
No related merge requests found
......@@ -1194,7 +1194,7 @@ function theme_views_view_gmap($view, $nodes) {
foreach ($nodes as $node) {
$node_data = node_load(array("nid"=>$node->nid));
$location = $node_data->location;
if (strlen($location['lat'])>0 && strlen($location['lon']>0) {
if (strlen($location['lat'])>0 && strlen($location['lon']>0)) {
$newmarker['label'] = '';
foreach ($view->field as $field) {
$newmarker['label'] .= "<p>" . views_theme_field('views_handle_field', $field['queryname'], $fields, $field, $node) . "</p>";
......
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