作者 邓超

x

... ... @@ -178,7 +178,7 @@ class MailListV2 extends Base {
if($subject){
$subject = is_array($subject) ? $subject : [$subject];
foreach ($subject as $sub){
$sql.=' and `subject` .'.(empty($is_auto_inbox)?' not ':'').'like "%'.addslashes($sub).'%"';
$sql.=' and `subject` .'.(empty($is_auto_inbox)?' not ':'').'like "%%'.addslashes($sub).'%%"';
}
}
// 不在此邮箱中的
... ... @@ -186,7 +186,7 @@ class MailListV2 extends Base {
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).'%"';
$sql.=' and `from` .'.(empty($is_auto_inbox)?' not ':'').'like "%%'.addslashes($sub).'%%"';
}
}
/************ 2024-09-02 *************/
... ...