Fix regression in 92ded7c6cb56056a89bc8b3caabd08049104898e: spewed PHP notices when checking for enclosures due to uninitialized variables.
This commit is contained in:
parent
83c2e0b379
commit
dcfe5b24f6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue