aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-01-19 08:52:59 -0500
committerCash Costello <cash.costello@gmail.com>2013-01-19 08:52:59 -0500
commit1de6813123ae865e4420b341ade372feaaf7bd25 (patch)
treebde1403b9f3dfb534c8a758e04d1ee97e87ecf85 /mod/file/views
parent3bbd27a2ed8281983e7af10fc9c5b326723c59a3 (diff)
downloadelgg-1de6813123ae865e4420b341ade372feaaf7bd25.tar.gz
elgg-1de6813123ae865e4420b341ade372feaaf7bd25.tar.bz2
Fixes #4990 removes extra title for full file view
Diffstat (limited to 'mod/file/views')
-rw-r--r--mod/file/views/default/object/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/views/default/object/file.php b/mod/file/views/default/object/file.php
index b3f530183..64f19c483 100644
--- a/mod/file/views/default/object/file.php
+++ b/mod/file/views/default/object/file.php
@@ -68,6 +68,7 @@ if ($full && !elgg_in_context('gallery')) {
$params = array(
'entity' => $file,
+ 'title' => false,
'metadata' => $metadata,
'subtitle' => $subtitle,
);
@@ -79,7 +80,6 @@ if ($full && !elgg_in_context('gallery')) {
echo elgg_view('object/elements/full', array(
'entity' => $file,
- 'title' => false,
'icon' => $file_icon,
'summary' => $summary,
'body' => $body,