From ab7a93181cb55602c45e28943253c8c09d1edce8 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 19 Feb 2024 15:48:24 +0000 Subject: [PATCH] Sec times a charm --- application/libraries/DxccFlag.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/application/libraries/DxccFlag.php b/application/libraries/DxccFlag.php index 1aadec1c..b491482e 100644 --- a/application/libraries/DxccFlag.php +++ b/application/libraries/DxccFlag.php @@ -411,6 +411,10 @@ class DxccFlag public function get($dxcc) { - return $this->dxccFlags[$dxcc]; + if (!isset($this->dxccFlags[$dxcc])) { + return null; + } else { + return $this->dxccFlags[$dxcc]; + } } }