mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added exception for /B Suffix at Call (shouldn't resolve to china)
This commit is contained in:
@@ -4718,7 +4718,7 @@ class Logbook_model extends CI_Model {
|
||||
*/
|
||||
public function check_dxcc_table($call, $date) {
|
||||
|
||||
$csadditions = '/^X$|^D$|^T$|^P$|^R$|^A$|^M$/';
|
||||
$csadditions = '/^X$|^D$|^T$|^P$|^R$|^B$|^A$|^M$/';
|
||||
|
||||
$dxcc_exceptions = $this->db->select('`entity`, `adif`, `cqz`, `cont`')
|
||||
->where('`call`', $call)
|
||||
@@ -4809,7 +4809,7 @@ class Logbook_model extends CI_Model {
|
||||
|
||||
public function dxcc_lookup($call, $date) {
|
||||
|
||||
$csadditions = '/^X$|^D$|^T$|^P$|^R$|^A$|^M$|^LH$/';
|
||||
$csadditions = '/^X$|^D$|^T$|^P$|^R$|^B$|^A$|^M$|^LH$/';
|
||||
|
||||
$dxcc_exceptions = $this->db->select('`entity`, `adif`, `cqz`,`cont`')
|
||||
->where('`call`', $call)
|
||||
@@ -4918,7 +4918,7 @@ class Logbook_model extends CI_Model {
|
||||
$c = '';
|
||||
|
||||
$lidadditions = '/^QRP$|^LGT$/';
|
||||
$csadditions = '/^X$|^D$|^T$|^P$|^R$|^A$|^M$|^LH$/';
|
||||
$csadditions = '/^X$|^D$|^T$|^P$|^R$|^B$|^A$|^M$|^LH$/';
|
||||
$noneadditions = '/^MM$|^AM$/';
|
||||
|
||||
# First check if the call is in the proper format, A/B/C where A and C
|
||||
|
||||
@@ -13,7 +13,7 @@ class Dxcc {
|
||||
|
||||
public function dxcc_lookup($call, $date) {
|
||||
|
||||
$csadditions = '/^P$|^R$|^A$|^M$/';
|
||||
$csadditions = '/^P$|^R$|^A$|^B$|^M$/';
|
||||
$CI =& get_instance();
|
||||
|
||||
if (array_key_exists($call, $this->dxccexceptions)) {
|
||||
@@ -91,7 +91,7 @@ class Dxcc {
|
||||
$c = '';
|
||||
|
||||
$lidadditions = '/^QRP$|^LGT$/';
|
||||
$csadditions = '/^P$|^R$|^A$|^M$|^LH$/';
|
||||
$csadditions = '/^P$|^R$|^B$|^A$|^M$|^LH$/';
|
||||
$noneadditions = '/^MM$|^AM$/';
|
||||
|
||||
# First check if the call is in the proper format, A/B/C where A and C
|
||||
|
||||
Reference in New Issue
Block a user