diff options
author | Sem <sembrestels@riseup.net> | 2012-08-01 21:35:51 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-08-01 21:35:51 +0200 |
commit | 5c4f586fe21c6de249c239212d3e6e81ff47bcb9 (patch) | |
tree | 8ac3b9f4b8b9c4aa8f894b43f72623e6df6cd260 /actions/photos | |
parent | f9e9c6cb5950ccf1d1d5396caa9dbb2803aacdad (diff) | |
download | elgg-5c4f586fe21c6de249c239212d3e6e81ff47bcb9.tar.gz elgg-5c4f586fe21c6de249c239212d3e6e81ff47bcb9.tar.bz2 |
Added default title to images.
Diffstat (limited to 'actions/photos')
-rw-r--r-- | actions/photos/image/upload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/photos/image/upload.php b/actions/photos/image/upload.php index cb0a2f90d..2dd0959bf 100644 --- a/actions/photos/image/upload.php +++ b/actions/photos/image/upload.php @@ -53,6 +53,7 @@ foreach ($_FILES['images']['name'] as $index => $value) { $mime = tp_upload_get_mimetype($data['name']); $image = new TidypicsImage(); + $image->title = $data['name']; $image->container_guid = $album->getGUID(); $image->setMimeType($mime); $image->access_id = $album->access_id; |