From 97293e30611afa119e313b8d38b919b3a5f56e45 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 25 Jan 2024 16:43:06 +0000 Subject: [PATCH] QRZ Changed their Errormsg on duplicate QSOs. Adjusted that here --- application/controllers/Qrz.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Qrz.php b/application/controllers/Qrz.php index c19c2e877..c2ea63fdc 100644 --- a/application/controllers/Qrz.php +++ b/application/controllers/Qrz.php @@ -70,7 +70,7 @@ class Qrz extends CI_Controller { $result = $this->logbook_model->push_qso_to_qrz($qrz_api_key, $adif); } - if ( ($result['status'] == 'OK') || ( ($result['status'] == 'error') && ($result['message'] == 'STATUS=FAIL&REASON=Unable to add QSO to database: duplicate&EXTENDED=')) ){ + if ( ($result['status'] == 'OK') || ( ($result['status'] == 'error') && ( ($result['message'] == 'STATUS=FAIL&RESULT=FAIL&REASON=Unable to add QSO to database: duplicate&EXTENDED=') || ($result['message'] == 'STATUS=FAIL&REASON=Unable to add QSO to database: duplicate&EXTENDED='))) ){ $this->markqso($qso->COL_PRIMARY_KEY); $i++; $result['status'] = 'OK';