Revert "Repair display of country flags"

This reverts commit a063f99ec7.
This commit is contained in:
phl0
2024-04-10 10:33:22 +02:00
parent a063f99ec7
commit 7234d38a89

View File

@@ -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];
}
}