Of course we need to load the model before using it ...
这个提交包含在:
父节点
9b4b723dd4
当前提交
7f8341b580
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
|
|
@ -235,6 +235,7 @@ class Logbook extends CI_Controller {
|
||||||
if($type == "SAT") {
|
if($type == "SAT") {
|
||||||
$this->db->where('COL_PROP_MODE', 'SAT');
|
$this->db->where('COL_PROP_MODE', 'SAT');
|
||||||
} else {
|
} else {
|
||||||
|
$CI->load->model('logbook_model');
|
||||||
$this->db->where('COL_MODE', $CI->logbook_model->get_main_mode_from_mode($mode));
|
$this->db->where('COL_MODE', $CI->logbook_model->get_main_mode_from_mode($mode));
|
||||||
$this->db->where('COL_BAND', $band);
|
$this->db->where('COL_BAND', $band);
|
||||||
$this->db->where('COL_PROP_MODE !=','SAT');
|
$this->db->where('COL_PROP_MODE !=','SAT');
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用