正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论