summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Bergren2009-01-22 17:08:42 (GMT)
committer Brandon Bergren2009-01-22 17:08:42 (GMT)
commitaa7b5fe6775c5b0ce5d7d2eb1afd2691d58e67fb (patch)
tree25e166c024cbe6116433ec4bc9c68d3d6a29ce15
parentec1c2fb2878491338be1dfa3b607fb1b40ef0641 (diff)
Diff minimization
-rw-r--r--gmap_location.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_location.module b/gmap_location.module
index bb9da58..f8bb230 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) {