ct_get_by_url方法去掉ic.ic_type <> 'none' and ,因为CT的信息都没有对应的类型选择。不需要这个条件获取

hotfix/远程访问多媒体中心
赵鹏 7 years ago
parent eb641844f8
commit e6b499ef62

@ -400,10 +400,10 @@ class Information_model extends CI_Model {
. " FROM infoStructures is1 \n"
. " INNER JOIN infoContents ic ON ic.ic_id = is1.is_ic_id \n"
. " AND ic.ic_sitecode = is1.is_sitecode \n"
. " WHERE ic.ic_type <> 'none' and is1.is_sitecode = ? ";
. " WHERE is1.is_sitecode = ? ";
$sql .= $this->ic_url_is_id;
$query = $this->HT->query($sql, $webcode);
// print_r($this->HT->queries);
print_r($this->HT->queries);
return $query->row();
}

Loading…
Cancel
Save