aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
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 /mod/groups/views/default
parent766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff)
downloadelgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz
elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2
correct singual usage of type in elgg_get_entities_* functions
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/groups/sidebar/featured.php2
-rw-r--r--mod/groups/views/default/groups/sidebar/members.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/groups/sidebar/featured.php b/mod/groups/views/default/groups/sidebar/featured.php
index 8bd51ab5c..f3f8f8d2d 100644
--- a/mod/groups/views/default/groups/sidebar/featured.php
+++ b/mod/groups/views/default/groups/sidebar/featured.php
@@ -8,7 +8,7 @@
$featured_groups = elgg_get_entities_from_metadata(array(
'metadata_name' => 'featured_group',
'metadata_value' => 'yes',
- 'types' => 'group',
+ 'type' => 'group',
'limit' => 10,
));
diff --git a/mod/groups/views/default/groups/sidebar/members.php b/mod/groups/views/default/groups/sidebar/members.php
index 11273d0e6..1199a0c34 100644
--- a/mod/groups/views/default/groups/sidebar/members.php
+++ b/mod/groups/views/default/groups/sidebar/members.php
@@ -20,7 +20,7 @@ $body = elgg_list_entities_from_relationship(array(
'relationship' => 'member',
'relationship_guid' => $vars['entity']->guid,
'inverse_relationship' => true,
- 'types' => 'user',
+ 'type' => 'user',
'limit' => $limit,
'list_type' => 'gallery',
'gallery_class' => 'elgg-gallery-users',