]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix regression in 92ded7c6cb56056a89bc8b3caabd08049104898e: spewed PHP notices when...
authorBrion Vibber <brion@pobox.com>
Mon, 28 Jun 2010 19:20:50 +0000 (15:20 -0400)
committerBrion Vibber <brion@pobox.com>
Mon, 28 Jun 2010 19:20:50 +0000 (15:20 -0400)
classes/File.php

index 0cd31075d2edef0b4c68b1c6766e11820b486864..0f230a6ee5c56519947bbaa78c2b3ef8d9d56f62 100644 (file)
@@ -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);
             }