diff --git a/application/libraries/DxccFlag.php b/application/libraries/DxccFlag.php index fc51e24d2..ddef37e6e 100644 --- a/application/libraries/DxccFlag.php +++ b/application/libraries/DxccFlag.php @@ -409,11 +409,8 @@ class DxccFlag '522' => "\u{1F1FD}\u{1F1F0}" //REPUBLIC OF KOSOVO ); - public function get($dxcc = 0) { - if ($dxcc == 0) { - return 0; - } else { - return $this->dxccFlags[$dxcc]; - } + public function get($dxcc) { + if ($dxcc ?? '' == '') { $dxcc='0'; } // Failover if Empty or NULL + return $this->dxccFlags[$dxcc]; } }