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

pull/2111/head
Andreas 2023-05-05 13:26:10 +02:00
rodzic ae543d8cc8
commit c996f24ef1
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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);
}
}