aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/object
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/file/views/default/object
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/file/views/default/object')
-rw-r--r--mod/file/views/default/object/file.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index c6ac2a429..95e190d35 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -76,6 +76,7 @@ if ($full && !elgg_in_context('gallery')) {
'subtitle' => $subtitle,
'tags' => $tags,
);
+ $params = $params + $vars;
$list_body = elgg_view('object/elements/summary', $params);
$file_info = elgg_view_image_block($file_icon, $list_body);
@@ -104,6 +105,7 @@ HTML;
'tags' => $tags,
'content' => $excerpt,
);
+ $params = $params + $vars;
$list_body = elgg_view('object/elements/summary', $params);
echo elgg_view_image_block($file_icon, $list_body);