We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit dcfe5b24 authored by Brion Vibber's avatar Brion Vibber

Fix regression in 92ded7c6: spewed PHP notices...

Fix regression in 92ded7c6: spewed PHP notices when checking for enclosures due to uninitialized variables.
parent 83c2e0b3
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment