mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Remove DXCC NONE from DXCC award
This commit is contained in:
@@ -165,6 +165,9 @@ class Awards extends CI_Controller {
|
||||
}
|
||||
|
||||
$dxcclist = $this->dxcc->fetchdxcc($postdata);
|
||||
if ($dxcclist[0]->adif == "0") {
|
||||
unset($dxcclist[0]);
|
||||
}
|
||||
$data['dxcc_array'] = $this->dxcc->get_dxcc_array($dxcclist, $bands, $postdata);
|
||||
$data['dxcc_summary'] = $this->dxcc->get_dxcc_summary($bands, $postdata);
|
||||
|
||||
@@ -1485,6 +1488,9 @@ class Awards extends CI_Controller {
|
||||
$postdata['orbit'] = $this->security->xss_clean($this->input->post('orbit'));
|
||||
|
||||
$dxcclist = $this->dxcc->fetchdxcc($postdata);
|
||||
if ($dxcclist[0]->adif == "0") {
|
||||
unset($dxcclist[0]);
|
||||
}
|
||||
|
||||
$dxcc_array = $this->dxcc->get_dxcc_array($dxcclist, $bands, $postdata);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user