[Awards] Fix error when no bands are selected for POTA, SOTA and WWFF
这个提交包含在:
父节点
35a2c46783
当前提交
c368dca536
共有 3 个文件被更改,包括 6 次插入 和 0 次删除
|
|
@ -15,6 +15,8 @@ class Pota extends CI_Model {
|
|||
|
||||
$bandslots = $this->bands->get_worked_bands('pota');
|
||||
|
||||
if(!$bandslots) return null;
|
||||
|
||||
$this->db->where_in("station_id", $logbooks_locations_array);
|
||||
$this->db->where_in("col_band", $bandslots);
|
||||
$this->db->order_by("COL_POTA_REF", "ASC");
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ class Sota extends CI_Model {
|
|||
|
||||
$bandslots = $this->bands->get_worked_bands('sota');
|
||||
|
||||
if(!$bandslots) return null;
|
||||
|
||||
$this->db->where_in("station_id", $logbooks_locations_array);
|
||||
$this->db->where_in("col_band", $bandslots);
|
||||
$this->db->order_by("COL_SOTA_REF", "ASC");
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ class Wwff extends CI_Model {
|
|||
|
||||
$bandslots = $this->bands->get_worked_bands('wwff');
|
||||
|
||||
if(!$bandslots) return null;
|
||||
|
||||
$this->db->where_in("station_id", $logbooks_locations_array);
|
||||
$this->db->where_in("col_band", $bandslots);
|
||||
$this->db->order_by("COL_WWFF_REF", "ASC");
|
||||
|
|
|
|||
正在加载…
在新工单中引用