Merge pull request #1276 from int2001/lotw_userid

Adjust filename for LoTW
This commit is contained in:
Joerg (DJ7NT)
2024-11-28 05:36:02 -04:00
committed by GitHub

View File

@@ -666,7 +666,7 @@ class Lotw extends CI_Controller {
}
$config['upload_path'] = './uploads/';
$file = $config['upload_path'] . 'lotwreport_download_'.$sync_user_id.'_auto.adi';
$file = $config['upload_path'] . 'lotwreport_download_'.$user->user_id.'_auto.adi';
if (file_exists($file) && ! is_writable($file)) {
$result = "Temporary download file ".$file." is not writable. Aborting!";
continue;