[eQSL] Fixed error on upload - had to send additional variable to function

这个提交包含在:
Andreas 2023-05-05 13:26:10 +02:00
父节点 ae543d8cc8
当前提交 c996f24ef1

查看文件

@ -130,7 +130,7 @@ class eqsl extends CI_Controller {
$data['user_eqsl_name'] = $qsl['station_callsign'];
$adif = $this->generateAdif($qsl, $data);
$status = $this->uploadQso($adif);
$status = $this->uploadQso($adif, $qsl);
$timestamp = strtotime($qsl['COL_TIME_ON']);
@ -160,7 +160,7 @@ class eqsl extends CI_Controller {
$this->load->view('interface_assets/footer');
}
function uploadQso($adif) {
function uploadQso($adif, $qsl) {
$this->load->model('eqslmethods_model');
$status = "";
@ -574,7 +574,7 @@ class eqsl extends CI_Controller {
$data['user_eqsl_name'] = $qsl['station_callsign'];
$adif = $this->generateAdif($qsl, $data);
$status = $this->uploadQso($adif);
$status = $this->uploadQso($adif, $qsl);
}
}