作者 邓超

x

... ... @@ -190,7 +190,12 @@ class MailListV2 extends Base {
}
}
$sql .= ' and ('. implode(' or ',$subject).' or '. implode(' or ',$from_not_in_like) .')';
if($subject || $from_not_in_like){
$sql .= ' and (';
if($subject) $sql.= implode(' or ',$subject);
if($from_not_in_like) $sql.= ' or '.implode(' or ',$from_not_in_like);
$sql .= ')';
}
/************ 2024-09-02 *************/
... ...