QRZ Changed their Errormsg on duplicate QSOs. Adjusted that here

This commit is contained in:
int2001
2024-01-25 16:43:06 +00:00
parent 20da014ab1
commit 97293e3061

View File

@@ -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';