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

Fix #1469056: Fixing notice.

parent e3b5c1b1
No related branches found
No related tags found
No related merge requests found
......@@ -659,7 +659,7 @@ function gmap_location_block($op = 'list', $delta = 0, $edit = array()) {
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;
......
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