From c51ed6d3bf2d41580d6839494bdf631d9f41c1cb Mon Sep 17 00:00:00 2001 From: Brandon Bergren <bdragon@rtk0.net> Date: Fri, 13 Apr 2012 13:29:14 -0500 Subject: [PATCH] Fix #1469056: Fixing notice. --- gmap_location.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmap_location.module b/gmap_location.module index 3197831..8d9b55d 100644 --- a/gmap_location.module +++ b/gmap_location.module @@ -694,7 +694,7 @@ function gmap_location_block_view($delta = '') { function _gmap_location_block_view($nid) { $block = array(); $node = node_load($nid); - if ($node->locations) { + if (!empty($node->locations)) { $markertypes = variable_get('gmap_node_markers', array()); $markers = array(); $count = 0; -- GitLab