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

Diff minimization

parent ec1c2fb2
No related branches found
Tags 6.x-2.0-beta1
No related merge requests found
......@@ -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) {
......
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