diff options
author | Jerome Bakker <jeabakker@coldtrick.com> | 2012-10-03 14:02:11 +0200 |
---|---|---|
committer | Jerome Bakker <jeabakker@coldtrick.com> | 2012-10-03 14:02:11 +0200 |
commit | 949a3f0c2ea1804577ff69d92f811ced71a79976 (patch) | |
tree | 0817ea4d6a936fb3a6493c6ff34a06b6d3e691c7 /mod/groups/lib/groups.php | |
parent | 766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff) | |
download | elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2 |
correct singual usage of type in elgg_get_entities_* functions
Diffstat (limited to 'mod/groups/lib/groups.php')
-rw-r--r-- | mod/groups/lib/groups.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index 505cacd01..a9eb6e843 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -79,7 +79,7 @@ function groups_search_page() { $params = array( 'metadata_name' => 'interests', 'metadata_value' => $tag, - 'types' => 'group', + 'type' => 'group', 'full_view' => FALSE, ); $content = elgg_list_entities_from_metadata($params); @@ -351,7 +351,7 @@ function groups_handle_members_page($guid) { 'relationship' => 'member', 'relationship_guid' => $group->guid, 'inverse_relationship' => true, - 'types' => 'user', + 'type' => 'user', 'limit' => 20, )); |