aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:11:41 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:11:41 +0200
commite33d1eba6a158699174de2747de6d6e654c03407 (patch)
treee2b7129e3140238b13922552247eaa57f3639e89 /engine/lib/users.php
parent949a3f0c2ea1804577ff69d92f811ced71a79976 (diff)
downloadelgg-e33d1eba6a158699174de2747de6d6e654c03407.tar.gz
elgg-e33d1eba6a158699174de2747de6d6e654c03407.tar.bz2
correct singual usage of subtype in elgg_get_entities_* functions
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 7dc6b7c2d..6b0b1429b 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -387,7 +387,7 @@ $offset = 0) {
'relationship' => 'friend',
'relationship_guid' => $user_guid,
'type' => 'user',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => $limit,
'offset' => $offset
));
@@ -411,7 +411,7 @@ $offset = 0) {
'relationship_guid' => $user_guid,
'inverse_relationship' => TRUE,
'type' => 'user',
- 'subtypes' => $subtype,
+ 'subtype' => $subtype,
'limit' => $limit,
'offset' => $offset
));