diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-26 07:07:27 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-26 07:07:27 -0400 |
commit | 64dcaa8cdc75669974501eb0627a5d5b348deb29 (patch) | |
tree | c2e231d558870ffa2a0bb9c488972f074048509c /mod/groups/views | |
parent | 89a6e2847452ef957d0360e7ed02ae5dc34bf6d8 (diff) | |
download | elgg-64dcaa8cdc75669974501eb0627a5d5b348deb29.tar.gz elgg-64dcaa8cdc75669974501eb0627a5d5b348deb29.tar.bz2 |
Fixes #3368 combining $vars with parameters for object/elements/summary view
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/group/default.php | 1 | ||||
-rw-r--r-- | mod/groups/views/default/object/groupforumtopic.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php index 2aa377813..fc91f90d0 100644 --- a/mod/groups/views/default/group/default.php +++ b/mod/groups/views/default/group/default.php @@ -31,6 +31,7 @@ if ($vars['full_view']) { 'metadata' => $metadata, 'subtitle' => $group->briefdescription, ); + $params = $params + $vars; $list_body = elgg_view('group/elements/summary', $params); echo elgg_view_image_block($icon, $list_body); diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php index 3a4decbe4..22589b84d 100644 --- a/mod/groups/views/default/object/groupforumtopic.php +++ b/mod/groups/views/default/object/groupforumtopic.php @@ -67,6 +67,7 @@ if ($full) { 'subtitle' => $subtitle, 'tags' => $tags, ); + $params = $params + $vars; $list_body = elgg_view('object/elements/summary', $params); $info = elgg_view_image_block($poster_icon, $list_body); @@ -90,6 +91,7 @@ HTML; 'tags' => $tags, 'content' => $excerpt, ); + $params = $params + $vars; $list_body = elgg_view('object/elements/summary', $params); echo elgg_view_image_block($poster_icon, $list_body); |