作者 邓超

x

@@ -220,7 +220,7 @@ class syncMail { @@ -220,7 +220,7 @@ class syncMail {
220 private function black_mail($id,$data){ 220 private function black_mail($id,$data){
221 221
222 if(!empty($data['from'])){ 222 if(!empty($data['from'])){
223 - if(!$this->db->count("select count(*) from `ai_black_email` where ".dbWhere(['email'=>$data['from']]))){ 223 + if($this->db->count("select count(*) from `ai_black_email` where ".dbWhere(['email'=>$data['from']]))){
224 224
225 $this->db->update(listsSql::$table,['deleted'=>1],dbWhere(['id'=>$id])); 225 $this->db->update(listsSql::$table,['deleted'=>1],dbWhere(['id'=>$id]));
226 } 226 }