aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-09 11:27:05 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-09 11:27:05 +0000
commitfa51cd122cc9927bca66fb49ffb6170cce273203 (patch)
tree75d629d79b820d89e046edf19a8ddba576b9369c
parent4dd323adf3fdddf173cadaff6dc0c8c2aa143be2 (diff)
downloadelgg-fa51cd122cc9927bca66fb49ffb6170cce273203.tar.gz
elgg-fa51cd122cc9927bca66fb49ffb6170cce273203.tar.bz2
adding simpletype to images
-rw-r--r--actions/upload.php1
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;