mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
Fix Array to string conversion for map
This commit is contained in:
@@ -186,7 +186,6 @@ class Awards extends CI_Controller {
|
||||
$postdata['dateTo'] = null;
|
||||
}
|
||||
|
||||
|
||||
if ($logbooks_locations_array) {
|
||||
$location_list = "'".implode("','",$logbooks_locations_array)."'";
|
||||
$dxcclist = $this->dxcc->fetchdxcc($postdata, $location_list);
|
||||
@@ -1758,14 +1757,12 @@ class Awards extends CI_Controller {
|
||||
$this->load->model('logbooks_model');
|
||||
$logbooks_locations_array = $this->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
|
||||
|
||||
$dxcclist = $this->dxcc->fetchdxcc($postdata, $logbooks_locations_array);
|
||||
|
||||
if ($dxcclist[0]->adif == "0") {
|
||||
unset($dxcclist[0]);
|
||||
}
|
||||
|
||||
if ($logbooks_locations_array) {
|
||||
$location_list = "'".implode("','",$logbooks_locations_array)."'";
|
||||
$dxcclist = $this->dxcc->fetchdxcc($postdata, $location_list);
|
||||
if ($dxcclist[0]->adif == "0") {
|
||||
unset($dxcclist[0]);
|
||||
}
|
||||
$dxcc_array = $this->dxcc->get_dxcc_array($dxcclist, $bands, $postdata, $location_list, true);
|
||||
} else {
|
||||
$location_list = null;
|
||||
|
||||
Reference in New Issue
Block a user