aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-04-13 16:35:22 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-04-13 16:35:22 -0700
commita965e8a7bb94d8ac870fd6b773a3aa7949db960a (patch)
treedc6304801ac375ec8be72ec761dab1ab67feb5e1 /views/default/object/image.php
parentd5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2 (diff)
downloadelgg-a965e8a7bb94d8ac870fd6b773a3aa7949db960a.tar.gz
elgg-a965e8a7bb94d8ac870fd6b773a3aa7949db960a.tar.bz2
Using the original file name for photo title if none is specified.
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 12d58440d..2aa76d48f 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -25,7 +25,7 @@ include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/lib/exif.php";
$image = $vars['entity'];
$image_guid = $image->getGUID();
$tags = $image->tags;
-$title = $image->title;
+$title = $image->getTitle();
$desc = $image->description;
$owner = $image->getOwnerEntity();
$friendlytime = friendly_time($image->time_created);