From 5c4f586fe21c6de249c239212d3e6e81ff47bcb9 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 1 Aug 2012 21:35:51 +0200 Subject: Added default title to images. --- actions/photos/image/upload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'actions/photos/image') 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; -- cgit v1.2.3