]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4990 removes extra title for full file view
authorCash Costello <cash.costello@gmail.com>
Sat, 19 Jan 2013 13:52:59 +0000 (08:52 -0500)
committerCash Costello <cash.costello@gmail.com>
Sat, 19 Jan 2013 13:52:59 +0000 (08:52 -0500)
mod/file/views/default/object/file.php

index b3f53018377a36c4adb9f47d48977713376eb179..64f19c4833d95c33d7c4b2d8dc1d30af055ac383 100644 (file)
@@ -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,