mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2880 from HB9HIL/uppercase_dxcc_call
make sure $call is always uppercase to make regex pattern work
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user