From 1de6813123ae865e4420b341ade372feaaf7bd25 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 19 Jan 2013 08:52:59 -0500 Subject: Fixes #4990 removes extra title for full file view --- mod/file/views/default/object/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/file/views/default') 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, -- cgit v1.2.3