aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-10-23 13:40:18 +0000
committerCash Costello <cash.costello@gmail.com>2010-10-23 13:40:18 +0000
commitbff17c5857d0365038e6783c3c00b53204f4a10e (patch)
treedf2e6a09564dd089c8e6e49401ef38c36061a272 /actions
parent18d83390fc4fe643a7747d212c491ab88418c1bb (diff)
downloadelgg-bff17c5857d0365038e6783c3c00b53204f4a10e.tar.gz
elgg-bff17c5857d0365038e6783c3c00b53204f4a10e.tar.bz2
think about setting title based on image name before edit multi
Diffstat (limited to 'actions')
-rw-r--r--actions/upload.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/upload.php b/actions/upload.php
index 88b000706..652ae16af 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -143,6 +143,7 @@ foreach($_FILES as $key => $sent_file) {
$file->subtype="image";
$file->simpletype="image";
$file->access_id = $access_id;
+ //$file->title = substr($file->originalfilename, 0, strrpos($file->originalfilename, '.'));
if ($container_guid) {
$file->container_guid = $container_guid;
}