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(); }