From ae543d8cc8cf12953e8ab845d0d483b67daa986d Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Fri, 5 May 2023 13:12:41 +0200 Subject: [PATCH] [eQSL] Fix typo in function call --- application/controllers/Eqsl.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index f64745b0..cf04892d 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -161,6 +161,7 @@ class eqsl extends CI_Controller { } function uploadQso($adif) { + $this->load->model('eqslmethods_model'); $status = ""; // begin script @@ -189,7 +190,7 @@ class eqsl extends CI_Controller { if ($chi['http_code'] == "200") { if (stristr($result, "Result: 1 out of 1 records added")) { $status = "Sent"; - $this->eqsl_mark_sent->eqsl_mark_sent($qsl['COL_PRIMARY_KEY']); + $this->eqslmethods_model->eqsl_mark_sent($qsl['COL_PRIMARY_KEY']); } else { if (stristr($result, "Error: No match on eQSL_User/eQSL_Pswd")) { $this->session->set_flashdata('warning', 'Your eQSL username and/or password is incorrect.'); redirect('eqsl/export'); @@ -201,7 +202,7 @@ class eqsl extends CI_Controller { $status = "Duplicate"; # Mark the QSL as sent if this is a dupe. - $this->eqsl_mark_sent->eqsl_mark_sent($qsl['COL_PRIMARY_KEY']); + $this->eqslmethods_model->eqsl_mark_sent($qsl['COL_PRIMARY_KEY']); } } }