fix saving a station location if oqrs is disabled

This commit is contained in:
HB9HIL
2024-06-15 00:28:44 +02:00
parent 9299804ffe
commit 52cac470f2

View File

@@ -130,8 +130,8 @@ class Stations extends CI_Model {
'clublogrealtime' => xss_clean($this->input->post('clublogrealtime', true)),
'qrzapikey' => xss_clean($this->input->post('qrzapikey', true)),
'qrzrealtime' => xss_clean($this->input->post('qrzrealtime', true)),
'oqrs' => xss_clean($this->input->post('oqrs', true)),
'oqrs_email' => xss_clean($this->input->post('oqrsemail', true)),
'oqrs' => xss_clean($this->input->post('oqrs', true) ?? '0'),
'oqrs_email' => xss_clean($this->input->post('oqrsemail', true) ?? '0'),
'oqrs_text' => xss_clean($this->input->post('oqrstext', true)),
'webadifapikey' => xss_clean($this->input->post('webadifapikey', true)),
'webadifapiurl' => 'https://qo100dx.club/api',
@@ -192,8 +192,8 @@ class Stations extends CI_Model {
'clublogrealtime' => xss_clean($this->input->post('clublogrealtime', true)),
'qrzapikey' => xss_clean($this->input->post('qrzapikey', true)),
'qrzrealtime' => xss_clean($this->input->post('qrzrealtime', true)),
'oqrs' => xss_clean($this->input->post('oqrs', true)),
'oqrs_email' => xss_clean($this->input->post('oqrsemail', true)),
'oqrs' => xss_clean($this->input->post('oqrs', true) ?? '0'),
'oqrs_email' => xss_clean($this->input->post('oqrsemail', true) ?? '0'),
'oqrs_text' => xss_clean($this->input->post('oqrstext', true)),
'webadifapikey' => xss_clean($this->input->post('webadifapikey', true)),
'webadifapiurl' => 'https://qo100dx.club/api',