From edd30a6bbac49260cb303b84ad03d5cf10d5d0e4 Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 26 Aug 2022 16:24:28 +0200 Subject: [PATCH] Fix typo --- application/controllers/Lotw.php | 2 +- application/models/LotwCert.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index 502647f1..5505a045 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -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.'); diff --git a/application/models/LotwCert.php b/application/models/LotwCert.php index 3fb520db..a9661493 100644 --- a/application/models/LotwCert.php +++ b/application/models/LotwCert.php @@ -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,