@@ -88,7 +88,8 @@ class Rfc822Header {
*/
var $mime = false;
/**
- * @var mixed
+ * Content Type object
+ * @var object
var $content_type = '';
@@ -156,7 +157,7 @@ class Rfc822Header {
}
- if ($this->content_type == '') {
+ if (!is_object($this->content_type)) {
$this->parseContentType('text/plain; charset=us-ascii');