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

Fix #1469056: Fixing notice.

parent 5fa57bca
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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