作者 邓超

x

... ... @@ -182,10 +182,10 @@ class MailListV2 extends Base {
}
}
// 不在此邮箱中的
$subject = app()->request('from_not_in_like');
if($subject){
$subject = is_array($subject) ? $subject : [$subject];
foreach ($subject as $sub){
$from_not_in_like = app()->request('from_not_in_like');
if($from_not_in_like){
$from_not_in_like = is_array($from_not_in_like) ? $from_not_in_like : [$from_not_in_like];
foreach ($from_not_in_like as $sub){
$sql.=' and `from` .'.(empty($is_auto_inbox)?' not ':'').'like "%'.addslashes($sub).'%"';
}
}
... ...