This commit is contained in:
phl0
2022-08-26 16:24:28 +02:00
parent 05765d1dc4
commit edd30a6bba
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ class Lotw extends CI_Controller {
// New Certificate Store in Database
// Store Certificate Data into MySQL
$this->LotwCert->store_certifciate($this->session->userdata('user_id'), $info['issued_callsign'], $dxcc, $info['validFrom'], $info['validTo_Date'], $info['qso-first-date'], $info['qso-end-date'], $info['pem_key'], $info['general_cert']);
$this->LotwCert->store_certificate($this->session->userdata('user_id'), $info['issued_callsign'], $dxcc, $info['validFrom'], $info['validTo_Date'], $info['qso-first-date'], $info['qso-end-date'], $info['pem_key'], $info['general_cert']);
// Cert success flash message
$this->session->set_flashdata('Success', $info['issued_callsign'].' Certficiate Imported.');

View File

@@ -36,7 +36,7 @@ class LotwCert extends CI_Model {
return $query->num_rows();
}
function store_certifciate($user_id, $callsign, $dxcc, $date_created, $date_expires, $qso_start_date, $qso_end_date, $cert_key, $general_cert) {
function store_certificate($user_id, $callsign, $dxcc, $date_created, $date_expires, $qso_start_date, $qso_end_date, $cert_key, $general_cert) {
$data = array(
'user_id' => $user_id,
'callsign' => $callsign,