Fixed logbooks-array bug

This commit is contained in:
int2001 2023-09-14 14:20:47 +00:00
parent 2174622756
commit 955010b40a
No known key found for this signature in database
GPG Key ID: DFB1C13CD2DB037B
2 changed files with 3 additions and 1 deletions

View File

@ -20,4 +20,4 @@ class Hamsat extends CI_Controller {
$this->load->view('/hamsat/index');
$this->load->view('interface_assets/footer');
}
}
}

View File

@ -38,6 +38,8 @@
<td>
<?php
$CI = &get_instance();
$CI->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 " <span data-toggle=\"tooltip\" title=\"".$rove['comment']."\">";