make sure $call is always uppercase to make regex pattern work

This commit is contained in:
HB9HIL
2026-01-31 08:03:33 +01:00
parent 842ea3fa0d
commit df3bd2bd66

View File

@@ -22,6 +22,9 @@ class Dxcc {
}
public function dxcc_lookup($call, $date) {
// Ensure callsign is uppercase for pattern matching
$call = strtoupper($call);
if (array_key_exists($call, $this->dxccexceptions)) {
$exceptions = $this->dxccexceptions[$call];