作者 邓超

x

@@ -192,8 +192,8 @@ class MailListV2 extends Base { @@ -192,8 +192,8 @@ class MailListV2 extends Base {
192 192
193 if($subject || $from_not_in_like){ 193 if($subject || $from_not_in_like){
194 $sql .= ' and ('; 194 $sql .= ' and (';
195 - if($subject) $sql.= implode(' or ',$subject);  
196 - if($from_not_in_like) $sql.= ' or '.implode(' or ',$from_not_in_like); 195 + if($subject) $sql.= implode(' and ',$subject);
  196 + if($from_not_in_like) $sql.= ' and '.implode(' and ',$from_not_in_like);
197 $sql .= ')'; 197 $sql .= ')';
198 } 198 }
199 199