This commit is contained in:
yfl
2019-04-15 13:55:54 +08:00
parent c72ff92d48
commit 396e7f42d7
-1
View File
@@ -508,7 +508,6 @@ class mailModel extends model
foreach($toList as $key => $to) if(trim($to) == $account or !trim($to)) unset($toList[$key]);
foreach($ccList as $key => $cc) if(trim($cc) == $account or !trim($cc)) unset($ccList[$key]);
}
if(!$toList and !$ccList) return;
if(!$toList and $ccList) $toList = array(array_shift($ccList));