Merge pull request #688 from HB9HIL/cw_rst

Set 599 also for CW-* modes
This commit is contained in:
HB9HIL
2024-08-04 08:17:37 +02:00
committed by GitHub

View File

@@ -552,6 +552,11 @@ class API extends CI_Controller {
$user_id = $this->api_model->key_userid($obj['key']);
// Special Case: Yaesu Radio's use CW-U and CW-L which aren't official ADIF Modes. We override this here to CW
if (isset($obj['mode']) && (strtoupper($obj['mode']) == 'CW-U' || strtoupper($obj['mode']) == 'CW-L')) {
$obj['mode'] = 'CW';
}
// Store Result to Database
$this->cat->update($obj, $user_id);