mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user