Skip to content
Permalink
Browse files

移除热修补

  • Loading branch information...
fengkaijia committed Mar 19, 2019
1 parent 4fae764 commit 377252fcc4a694d7c91539584c8c40f7fb66b1a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 application/models/Knowledgebase_model.php
@@ -128,7 +128,7 @@ function search_article($keyword, $limit = 20)
$keyword = $this->db->escape_str($keyword);
$this->db->select('id');
$this->db->where("MATCH (content) AGAINST (\"{$keyword}\" IN BOOLEAN MODE)", NULL, false);
$this->db->where("MATCH (title, content) AGAINST (\"{$keyword}\" IN BOOLEAN MODE)", NULL, false);
$this->db->limit($limit);
$query = $this->db->get('knowledgebase');

0 comments on commit 377252f

Please sign in to comment.
You can’t perform that action at this time.