From df3bd2bd662a481ff2d17fb832fb0d48187f2847 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sat, 31 Jan 2026 08:03:33 +0100 Subject: [PATCH] make sure $call is always uppercase to make regex pattern work --- src/Dxcc/Dxcc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Dxcc/Dxcc.php b/src/Dxcc/Dxcc.php index fd26ca638..8fc5e92bd 100644 --- a/src/Dxcc/Dxcc.php +++ b/src/Dxcc/Dxcc.php @@ -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];