作者 邓超

x

@@ -31,7 +31,11 @@ class syncMail { @@ -31,7 +31,11 @@ class syncMail {
31 } 31 }
32 32
33 // 是否在指定文件夹内 33 // 是否在指定文件夹内
34 - $f = folderAlias($this->db->value(folderSql::first($data['folder_id'],'folder'))); 34 + $f = $this->db->value(folderSql::first($data['folder_id'],'folder'));
  35 + if(!$f){
  36 + return true;
  37 + }
  38 + $f = folderAlias($f);
35 if($f=='发件箱'){ 39 if($f=='发件箱'){
36 if(empty($data['to_name'])){ 40 if(empty($data['to_name'])){
37 $data['to_name'] = []; 41 $data['to_name'] = [];