From 2106b07ba1c47bf1c755dd9c5c0d0ee83a6c24c2 Mon Sep 17 00:00:00 2001 From: cyc Date: Tue, 28 Apr 2020 15:25:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/searchinfo/models/infos_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/searchinfo/models/infos_model.php b/application/third_party/searchinfo/models/infos_model.php index c8c11d18..dea4df09 100644 --- a/application/third_party/searchinfo/models/infos_model.php +++ b/application/third_party/searchinfo/models/infos_model.php @@ -14,7 +14,7 @@ class infos_model extends CI_Model { } function get_emptyamp_pages($sitecode){ - $sql = "select ic_url from infoMetas left join infoContents on im_ic_id = ic_id where im_key = 'amp' and ic_sitecode = ? and im_value like '%%'"; + $sql = "select ic_url from infoMetas left join infoContents on im_ic_id = ic_id where im_key = 'amp' and ic_sitecode = ? and im_value like '%%' and ic_type = 'none'"; $query = $this->HT->query($sql,array($sitecode)); return $query->result(); }