mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
pass user_id (if exists) to lotw_download
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user