Fix QRZ LastQSL-Logic

This commit is contained in:
int2001
2025-01-15 12:22:58 +00:00
parent 61b74b5a8d
commit 22bef0d504
2 changed files with 7 additions and 4 deletions

View File

@@ -312,7 +312,7 @@ class Qrz extends CI_Controller {
if ((($user_id_to_load != null) && ($user_id_to_load != $station->user_id))) { // Skip User if we're called with a specific user_id
continue;
}
if ($lastqrz == null) {
if (($lastqrz == null) || ($user_id_to_load == null)) {
$lastqrz = $this->logbook_model->qrz_last_qsl_date($station->user_id);
}
$qrz_api_key = $station->qrzapikey;