aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:02:11 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:02:11 +0200
commit949a3f0c2ea1804577ff69d92f811ced71a79976 (patch)
tree0817ea4d6a936fb3a6493c6ff34a06b6d3e691c7 /engine/lib/users.php
parent766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff)
downloadelgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz
elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2
correct singual usage of type in elgg_get_entities_* functions
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 527eff3cd..7dc6b7c2d 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -301,7 +301,7 @@ function get_user_sites($user_guid, $limit = 10, $offset = 0) {
'relationship' => 'member_of_site',
'relationship_guid' => $user_guid,
'inverse_relationship' => FALSE,
- 'types' => 'site',
+ 'type' => 'site',
'limit' => $limit,
'offset' => $offset,
));
@@ -386,7 +386,7 @@ $offset = 0) {
return elgg_get_entities_from_relationship(array(
'relationship' => 'friend',
'relationship_guid' => $user_guid,
- 'types' => 'user',
+ 'type' => 'user',
'subtypes' => $subtype,
'limit' => $limit,
'offset' => $offset
@@ -410,7 +410,7 @@ $offset = 0) {
'relationship' => 'friend',
'relationship_guid' => $user_guid,
'inverse_relationship' => TRUE,
- 'types' => 'user',
+ 'type' => 'user',
'subtypes' => $subtype,
'limit' => $limit,
'offset' => $offset