mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
renamed station profile to station location
only show station locations of user check station location user in backend
This commit is contained in:
@@ -68,6 +68,13 @@ class adif_data extends CI_Model {
|
||||
}
|
||||
|
||||
function export_custom($from, $to, $station_id, $exportLotw = false) {
|
||||
// be sure that station belongs to user
|
||||
$CI =& get_instance();
|
||||
$CI->load->model('Stations');
|
||||
if (!$CI->Stations->check_station_is_accessible($station_id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->db->select(''.$this->config->item('table_name').'.*, station_profile.*');
|
||||
$this->db->from($this->config->item('table_name'));
|
||||
$this->db->where($this->config->item('table_name').'.station_id', $station_id);
|
||||
|
||||
Reference in New Issue
Block a user