aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-03 21:59:35 +0200
committerSem <sembrestels@riseup.net>2012-08-03 21:59:35 +0200
commit8b359df98a438b4b7e053806d9230cf4f51dffe9 (patch)
tree5da7935579fc64207b42629524a524e8932cf6d5
parent881c9a1e06c084738effd4e27b4d69029eda883f (diff)
parent5c4f586fe21c6de249c239212d3e6e81ff47bcb9 (diff)
downloadelgg-8b359df98a438b4b7e053806d9230cf4f51dffe9.tar.gz
elgg-8b359df98a438b4b7e053806d9230cf4f51dffe9.tar.bz2
Merge branch 'little-enhancements' of git://github.com/sembrestels/Tidypics
-rw-r--r--actions/photos/image/upload.php1
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;