diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 18:35:33 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 18:35:33 +0000 |
commit | 6dee5f10eb0e32a07020dfa42000f1a662792d33 (patch) | |
tree | bc18ea698844b9885f14e69ede3e346137255df0 /engine | |
parent | 9b41add90d32e2a77bc3c9fdcbb65342166c85b0 (diff) | |
download | elgg-6dee5f10eb0e32a07020dfa42000f1a662792d33.tar.gz elgg-6dee5f10eb0e32a07020dfa42000f1a662792d33.tar.bz2 |
Slight fix to previous.
git-svn-id: https://code.elgg.org/elgg/trunk@1476 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/users.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 5d5b7c289..f7155cb1a 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -570,7 +570,7 @@ foreach($friends as $friend) {
$friendguids[] = $friend->getGUID();
}
- return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, false, 0, $friendguids);
+ return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, false, 0, array_merge(array(0),$friendguids));
}
return false;
}
@@ -588,7 +588,7 @@ foreach($friends as $friend) {
$friendguids[] = $friend->getGUID();
}
- return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, true, 0, $friendguids);
+ return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, true, 0, array_merge(array(0),$friendguids));
}
return 0;
}
|