diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-04-13 16:35:22 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-04-13 16:35:22 -0700 |
commit | a965e8a7bb94d8ac870fd6b773a3aa7949db960a (patch) | |
tree | dc6304801ac375ec8be72ec761dab1ab67feb5e1 /actions/photos/admin/create_thumbnails.php | |
parent | d5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2 (diff) | |
download | elgg-a965e8a7bb94d8ac870fd6b773a3aa7949db960a.tar.gz elgg-a965e8a7bb94d8ac870fd6b773a3aa7949db960a.tar.bz2 |
Using the original file name for photo title if none is specified.
Diffstat (limited to 'actions/photos/admin/create_thumbnails.php')
-rw-r--r-- | actions/photos/admin/create_thumbnails.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/photos/admin/create_thumbnails.php b/actions/photos/admin/create_thumbnails.php index f2e9b26e2..dfb5d4ed1 100644 --- a/actions/photos/admin/create_thumbnails.php +++ b/actions/photos/admin/create_thumbnails.php @@ -23,7 +23,7 @@ if (!$filename || !$container_guid) { forward(REFERER); } -$title = $image->title; +$title = $image->getTitle(); $prefix = "image/$container_guid/"; $filestorename = substr($filename, strlen($prefix)); |