[LoTW][Upload] Make sure Station Profile and Cert DXCCs match

This commit is contained in:
Peter Goodhall
2020-12-26 12:08:43 +00:00
parent 0fdce42b33
commit 7e8be5e266
2 changed files with 3 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ class Lotw extends CI_Controller {
// Get Certificate Data
$this->load->model('LotwCert');
$data['station_profile'] = $station_profile;
$data['lotw_cert_info'] = $this->LotwCert->lotw_cert_details($station_profile->station_callsign);
$data['lotw_cert_info'] = $this->LotwCert->lotw_cert_details($station_profile->station_callsign, $station_profile->station_country);
// If Station Profile has no LOTW Cert continue on.
if(!isset($data['lotw_cert_info']->cert_dxcc)) {