From 955010b40a88b87ea898b6d2cf2b61777a70848e Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 14 Sep 2023 14:20:47 +0000 Subject: [PATCH] Fixed logbooks-array bug --- application/controllers/Hamsat.php | 2 +- application/views/components/hamsat/table.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Hamsat.php b/application/controllers/Hamsat.php index d2cc9b0b..769a614b 100644 --- a/application/controllers/Hamsat.php +++ b/application/controllers/Hamsat.php @@ -20,4 +20,4 @@ class Hamsat extends CI_Controller { $this->load->view('/hamsat/index'); $this->load->view('interface_assets/footer'); } -} \ No newline at end of file +} diff --git a/application/views/components/hamsat/table.php b/application/views/components/hamsat/table.php index 6933b38c..8753058d 100644 --- a/application/views/components/hamsat/table.php +++ b/application/views/components/hamsat/table.php @@ -38,6 +38,8 @@ load->model('logbooks_model'); + $logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook')); $CI->load->model('logbook_model'); $call_worked = $CI->logbook_model->check_if_callsign_worked_in_logbook($rove['callsign'], $logbooks_locations_array, "SAT"); echo " ";