aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-26 06:41:39 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-26 06:41:39 -0400
commitb0b197ee2e73974a8b0c080086945383a863410e (patch)
tree706726a6edcfc7edeb75e7363eadd9a2687d4d62 /mod/groups
parent12a4106d92db1fa3327e0cf32262544181602380 (diff)
downloadelgg-b0b197ee2e73974a8b0c080086945383a863410e.tar.gz
elgg-b0b197ee2e73974a8b0c080086945383a863410e.tar.bz2
Fixes #3614 updated use of elgg_view_entity() throughout core
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/lib/discussion.php2
-rw-r--r--mod/groups/views/default/groups/sidebar/featured.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/lib/discussion.php b/mod/groups/lib/discussion.php
index 94d212ef6..342115c81 100644
--- a/mod/groups/lib/discussion.php
+++ b/mod/groups/lib/discussion.php
@@ -167,7 +167,7 @@ function discussion_handle_view_page($guid) {
elgg_push_breadcrumb($group->name, "discussion/owner/$group->guid");
elgg_push_breadcrumb($topic->title);
- $content = elgg_view_entity($topic, true);
+ $content = elgg_view_entity($topic, array('full_view' => true));
if ($topic->status == 'closed') {
$content .= elgg_view('discussion/replies', array(
'entity' => $topic,
diff --git a/mod/groups/views/default/groups/sidebar/featured.php b/mod/groups/views/default/groups/sidebar/featured.php
index 695782783..8bd51ab5c 100644
--- a/mod/groups/views/default/groups/sidebar/featured.php
+++ b/mod/groups/views/default/groups/sidebar/featured.php
@@ -17,7 +17,7 @@ if ($featured_groups) {
elgg_push_context('widgets');
$body = '';
foreach ($featured_groups as $group) {
- $body .= elgg_view_entity($group, false);
+ $body .= elgg_view_entity($group, array('full_view' => false));
}
elgg_pop_context();