作者 邓超

x

... ... @@ -192,8 +192,8 @@ class MailListV2 extends Base {
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);
if($subject) $sql.= implode(' and ',$subject);
if($from_not_in_like) $sql.= ' and '.implode(' and ',$from_not_in_like);
$sql .= ')';
}
... ...