mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #299 from Manawyrm/patch-3
also replace hardcoded table name
This commit is contained in:
@@ -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"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user