[Timeline] Fixed if no QSOs found.

This commit is contained in:
Andreas
2021-11-14 17:40:36 +01:00
parent 9e4c97e45b
commit 6e6fe817fe

View File

@@ -8,6 +8,10 @@ class Timeline_model extends CI_Model
$CI->load->model('logbooks_model');
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
if (!$logbooks_locations_array) {
return null;
}
$location_list = "'".implode("','",$logbooks_locations_array)."'";
switch ($award) {