diff options
author | Cash Costello <cash.costello@gmail.com> | 2010-10-23 13:40:18 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2010-10-23 13:40:18 +0000 |
commit | bff17c5857d0365038e6783c3c00b53204f4a10e (patch) | |
tree | df2e6a09564dd089c8e6e49401ef38c36061a272 /actions | |
parent | 18d83390fc4fe643a7747d212c491ab88418c1bb (diff) | |
download | elgg-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.php | 1 |
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; } |