diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index fcd10061..4abd170e 100644 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -235,7 +235,7 @@ class Logbook extends CI_Controller { if($type == "SAT") { $this->db->where('COL_PROP_MODE', 'SAT'); } else { - $this->db->where('COL_MODE', $this->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_PROP_MODE !=','SAT');