Merge pull request #299 from Manawyrm/patch-3

also replace hardcoded table name
This commit is contained in:
Peter Goodhall
2019-06-17 18:51:52 +01:00
committed by GitHub

View File

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