derive wked/cnfm badge out of DXCC-ID instead of string

This commit is contained in:
int2001
2025-09-24 07:10:02 +00:00
parent dfc1556c72
commit 31bb96500f
2 changed files with 9 additions and 8 deletions

View File

@@ -428,7 +428,7 @@ class Logbook extends CI_Controller {
}
$this->db->where_in('station_id', $logbooks_locations_array);
$this->db->where('COL_COUNTRY', urldecode($country));
$this->db->where('COL_DXCC', urldecode($country));
$query = $this->db->get($this->config->item('table_name'), 1, 0);
foreach ($query->result() as $workedBeforeRow)
@@ -481,7 +481,7 @@ class Logbook extends CI_Controller {
}
$this->db->where_in('station_id', $logbooks_locations_array);
$this->db->where('COL_COUNTRY', urldecode($country));
$this->db->where('COL_DXCC', urldecode($country));
$query = $this->db->get($this->config->item('table_name'), 1, 0);
foreach ($query->result() as $workedBeforeRow) {