diff --git a/gmap_location.module b/gmap_location.module index bb9da586e9cc655c2f3c1346a8789032a17213ac..f8bb23052d5d316e7922cff1da9db638ffbc9a04 100644 --- a/gmap_location.module +++ b/gmap_location.module @@ -715,7 +715,7 @@ function gmap_location_author_block_view($nid) { $node = node_load($nid); if (in_array($node->type, variable_get('gmap_location_author_block_types', array()))) { $markername = variable_get('gmap_location_author_block_marker', 'drupal'); - $author = user_load($node->uid); + $author = user_load(array('uid' => $node->uid)); $markers = array(); $count = 0; foreach ($author->locations as $loc) {