diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-09 11:27:05 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-09 11:27:05 +0000 |
commit | fa51cd122cc9927bca66fb49ffb6170cce273203 (patch) | |
tree | 75d629d79b820d89e046edf19a8ddba576b9369c /actions | |
parent | 4dd323adf3fdddf173cadaff6dc0c8c2aa143be2 (diff) | |
download | elgg-fa51cd122cc9927bca66fb49ffb6170cce273203.tar.gz elgg-fa51cd122cc9927bca66fb49ffb6170cce273203.tar.bz2 |
adding simpletype to images
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 717c3274f..5dacd5fec 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -127,6 +127,7 @@ $file->setMimeType($mime);
$file->originalfilename = $name;
$file->subtype="image";
+ $file->simpletype="image";
$file->access_id = $access_id;
if ($container_guid) {
$file->container_guid = $container_guid;
|