[eQSL] Fix typo in function call
这个提交包含在:
父节点
daad991689
当前提交
ae543d8cc8
共有 1 个文件被更改,包括 3 次插入 和 2 次删除
|
|
@ -161,6 +161,7 @@ class eqsl extends CI_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
function uploadQso($adif) {
|
function uploadQso($adif) {
|
||||||
|
$this->load->model('eqslmethods_model');
|
||||||
$status = "";
|
$status = "";
|
||||||
|
|
||||||
// begin script
|
// begin script
|
||||||
|
|
@ -189,7 +190,7 @@ class eqsl extends CI_Controller {
|
||||||
if ($chi['http_code'] == "200") {
|
if ($chi['http_code'] == "200") {
|
||||||
if (stristr($result, "Result: 1 out of 1 records added")) {
|
if (stristr($result, "Result: 1 out of 1 records added")) {
|
||||||
$status = "Sent";
|
$status = "Sent";
|
||||||
$this->eqsl_mark_sent->eqsl_mark_sent($qsl['COL_PRIMARY_KEY']);
|
$this->eqslmethods_model->eqsl_mark_sent($qsl['COL_PRIMARY_KEY']);
|
||||||
} else {
|
} else {
|
||||||
if (stristr($result, "Error: No match on eQSL_User/eQSL_Pswd")) {
|
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');
|
$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";
|
$status = "Duplicate";
|
||||||
|
|
||||||
# Mark the QSL as sent if this is a dupe.
|
# 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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用