summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-06-28 15:20:50 -0400
committerBrion Vibber <brion@pobox.com>2010-06-28 15:20:50 -0400
commitdcfe5b24f6047aa830f107628aa3c10b9d292951 (patch)
tree05f4177f47ed25a6778aeaad2609a8ef1a39edd9 /classes
parent83c2e0b379a8a6a81c211ed5c4d837e047f919f7 (diff)
Fix regression in 92ded7c6cb56056a89bc8b3caabd08049104898e: spewed PHP notices when checking for enclosures due to uninitialized variables.
Diffstat (limited to 'classes')
-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);
}