Fixed an issue that I had fixed for imports when the QRZ session key had expired lookups would fail. Now it does the same thing for manually entering QSOs
这个提交包含在:
父节点
bf24cff4aa
当前提交
4ed092b955
共有 1 个文件被更改,包括 7 次插入 和 1 次删除
|
|
@ -491,8 +491,14 @@ class Logbook extends CI_Controller {
|
||||||
$qrz_session_key = $this->qrz->session($this->config->item('qrz_username'), $this->config->item('qrz_password'));
|
$qrz_session_key = $this->qrz->session($this->config->item('qrz_username'), $this->config->item('qrz_password'));
|
||||||
$this->session->set_userdata('qrz_session_key', $qrz_session_key);
|
$this->session->set_userdata('qrz_session_key', $qrz_session_key);
|
||||||
}
|
}
|
||||||
|
$data= $this->qrz->search($id, $this->session->userdata('qrz_session_key'), $this->config->item('use_fullname'));
|
||||||
|
|
||||||
$data['callsign'] = $this->qrz->search($id, $this->session->userdata('qrz_session_key'), $this->config->item('use_fullname'));
|
if (empty($data['callsign']))
|
||||||
|
{
|
||||||
|
$qrz_session_key = $this->qrz->session($this->config->item('qrz_username'), $this->config->item('qrz_password'));
|
||||||
|
$this->session->set_userdata('qrz_session_key', $qrz_session_key);
|
||||||
|
$data = $this->qrz->search($id, $this->session->userdata('qrz_session_key'), $this->config->item('use_fullname'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// There's no hamli integration? Disabled for now.
|
// There's no hamli integration? Disabled for now.
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用