From d303e7b6cfda9de45ae3cedba11c4160344e2e9d Mon Sep 17 00:00:00 2001 From: int2001 Date: Wed, 31 Jul 2024 08:00:05 +0000 Subject: [PATCH] Fix "Check missing DXCC"-Updater --- application/models/Logbook_model.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index ce58c668e..11ebd7b29 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -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++; }