Fix "Check missing DXCC"-Updater

This commit is contained in:
int2001
2024-07-31 08:00:05 +00:00
parent d06ce5bce2
commit d303e7b6cf

View File

@@ -4312,14 +4312,7 @@ function lotw_last_qsl_date($user_id) {
}
}
return array(
'adif' => 0,
'cqz' => 0,
'long' => '',
'lat' => '',
'entity' => 'None',
);
return array(0,'Not found','','');
}
public function dxcc_lookup($call, $date) {
@@ -4591,7 +4584,7 @@ function lotw_last_qsl_date($user_id) {
$qso_date = $row['COL_TIME_OFF']=='' ? $row['COL_TIME_ON'] : $row['COL_TIME_OFF'];
$qso_date = date("Y-m-d", strtotime($qso_date));
$d = $this->check_dxcc_table($row['COL_CALL'], $qso_date);
if ($d[0] != 'Not Found'){
if ($d[1] != 'Not found'){
$q->execute(array(addslashes(ucwords(strtolower($d[1]), "- (/")), $d[0], $row['COL_PRIMARY_KEY']));
$count++;
}