$this->content_type is object. content_type should always store ContentType
object and this code is only to make sure that parameter is not default
string.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10411
7612ce4b-ef26-0410-bec9-
ea0150e637f0
*/
var $mime = false;
/**
- * @var mixed
+ * Content Type object
+ * @var object
*/
var $content_type = '';
/**
}
}
}
- if ($this->content_type == '') {
+ if (!is_object($this->content_type)) {
$this->parseContentType('text/plain; charset=us-ascii');
}
}