Update Lotw.php

This commit is contained in:
Peter Goodhall
2020-09-06 16:32:02 +01:00
parent 62d009f274
commit cc8a0ae9ab

View File

@@ -515,6 +515,9 @@ class Lotw extends CI_Controller {
$this->load->model('user_model');
$this->load->model('logbook_model');
$config['upload_path'] = './uploads/';
$file = $config['upload_path'] . 'lotwreport_download.adi';
// Get credentials for LoTW
$query = $this->user_model->get_by_id($user_id);
$q = $query->row();