作者 邓超

m

@@ -841,7 +841,7 @@ class Home extends Base { @@ -841,7 +841,7 @@ class Home extends Base {
841 $data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : []; 841 $data['bcc'] = $data['bcc'] ? json_decode($data['bcc'],true) : [];
842 842
843 $data['to_name'] = array_map(function ($t){ 843 $data['to_name'] = array_map(function ($t){
844 - if(empty($t['name'])){ 844 + if(!empty($t['name'])){
845 $t['name'] = MailFun::mb_coding($t['name']); 845 $t['name'] = MailFun::mb_coding($t['name']);
846 } 846 }
847 return $t; 847 return $t;