aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-26 07:07:27 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-26 07:07:27 -0400
commit64dcaa8cdc75669974501eb0627a5d5b348deb29 (patch)
treec2e231d558870ffa2a0bb9c488972f074048509c /mod/pages/views
parent89a6e2847452ef957d0360e7ed02ae5dc34bf6d8 (diff)
downloadelgg-64dcaa8cdc75669974501eb0627a5d5b348deb29.tar.gz
elgg-64dcaa8cdc75669974501eb0627a5d5b348deb29.tar.bz2
Fixes #3368 combining $vars with parameters for object/elements/summary view
Diffstat (limited to 'mod/pages/views')
-rw-r--r--mod/pages/views/default/object/page_top.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php
index 2ad44e38c..8ba9fc298 100644
--- a/mod/pages/views/default/object/page_top.php
+++ b/mod/pages/views/default/object/page_top.php
@@ -82,6 +82,7 @@ if ($full) {
'subtitle' => $subtitle,
'tags' => $tags,
);
+ $params = $params + $vars;
$list_body = elgg_view('object/elements/summary', $params);
$info = elgg_view_image_block($page_icon, $list_body);
@@ -103,6 +104,7 @@ HTML;
'tags' => $tags,
'content' => $excerpt,
);
+ $params = $params + $vars;
$list_body = elgg_view('object/elements/summary', $params);
echo elgg_view_image_block($page_icon, $list_body);