Merge pull request #299 from Manawyrm/patch-3

also replace hardcoded table name
这个提交包含在:
Peter Goodhall 2019-06-17 18:51:52 +01:00 提交者 GitHub
当前提交 b793325ba9
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -11,7 +11,7 @@ class CQ extends CI_Model{
function get_zones(){ function get_zones(){
$data = $this->db->query( $data = $this->db->query(
"select COL_CQZ, count(COL_CQZ) "select COL_CQZ, count(COL_CQZ)
from TABLE_HRD_CONTACTS_V01 from ".$this->config->item('table_name')."
where COL_CQZ is not null where COL_CQZ is not null
group by COL_CQZ order by COL_CQZ" group by COL_CQZ order by COL_CQZ"
); );