浏览代码

initialize cc correct

stekkel 23 年之前
父节点
当前提交
1f747ca365
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      class/mime/Rfc822Header.class.php

+ 1 - 0
class/mime/Rfc822Header.class.php

@@ -480,6 +480,7 @@ class Rfc822Header {
 		++$i;	
             }
 	} else {
+	    if (!is_array($this->cc)) $this->cc = array();
 	    $srch_addr = $this->parseAddress($address);
 	    $results = array();
 	    foreach ($this->to as $to) {