pass user_id (if exists) to lotw_download

This commit is contained in:
int2001
2023-07-13 06:29:04 +00:00
parent 64278bf121
commit 007488f7a7

View File

@@ -355,8 +355,11 @@ class Lotw extends CI_Controller {
/*
| Download QSO Matches from LoTW
*/
if ($this->user_model->authorize(2)) { // Only be verbose if we have a session
if ($this->user_model->authorize(2)) {
echo "<br><br>";
$sync_user_id=$this->session->userdata('user_id');
} else {
$sync_user_id=null;
}
echo $this->lotw_download($sync_user_id);
}