From 9b4b723dd461c7def1d9a2815029c7e8d104b543 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 24 Aug 2023 23:00:05 +0200 Subject: [PATCH] Fix instanciation of Logbook_model --- application/controllers/Logbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');