mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Skip Users without any station_id at lotw_download
This commit is contained in:
@@ -657,6 +657,7 @@ class Lotw extends CI_Controller {
|
||||
foreach ($query->result() as $user) {
|
||||
if ( ($sync_user_id != null) && ($sync_user_id != $user->user_id) ) { continue; }
|
||||
$station_ids=$this->Stations->all_station_ids_of_user($user->user_id);
|
||||
if ($station_ids == '') { continue; } // User has no Station-ID! next one
|
||||
|
||||
// Validate that LoTW credentials are not empty
|
||||
// TODO: We don't actually see the error message
|
||||
|
||||
Reference in New Issue
Block a user