summaryrefslogtreecommitdiff
path: root/classes/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/File.php')
-rw-r--r--classes/File.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/File.php b/classes/File.php
index 0cd31075d..0f230a6ee 100644
--- a/classes/File.php
+++ b/classes/File.php
@@ -302,6 +302,7 @@ class File extends Memcached_DataObject
if(! isset($this->filename)){
$notEnclosureMimeTypes = array(null,'text/html','application/xhtml+xml');
+ $mimetype = $this->mimetype;
if($mimetype != null){
$mimetype = strtolower($this->mimetype);
}