Fixed station_id-Check at create_qso
这个提交包含在:
父节点
feb81eecde
当前提交
4dd62bfa11
共有 1 个文件被更改,包括 7 次插入 和 0 次删除
|
|
@ -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);
|
||||
|
|
|
|||
正在加载…
在新工单中引用