aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;