Fixed station_id-Check at create_qso

这个提交包含在:
int2001 2023-07-30 17:53:13 +00:00
父节点 feb81eecde
当前提交 4dd62bfa11
找不到此签名对应的密钥
GPG 密钥 ID: DFB1C13CD2DB037B

查看文件

@ -241,6 +241,13 @@ class Logbook_model extends CI_Model {
$station_id = $CI->Stations->find_active();
}
$CI =& get_instance();
$CI->load->model('Stations');
if (!$CI->Stations->check_station_is_accessible($station_id)) { // Hard Exit if station_profile not accessible
return 'Station not accessible<br>';
}
// If station profile has been provided fill in the fields
if($station_id != "0") {
$station = $this->check_station($station_id);