From 01bd8c6373671c6ea8ccc177ebaeb84b2fb8a4aa Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 10 Dec 2025 12:26:38 +0100 Subject: [PATCH] Catch undefined color --- application/controllers/Awards.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 976c51f1e..426a62551 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -21,7 +21,7 @@ class Awards extends CI_Controller { $map_custom = json_decode($this->optionslib->get_map_custom()); $this->user_map_color_qso = $map_custom->qso->color; - $this->user_map_color_qsoconfirm = $map_custom->qsoconfirm->color; + $this->user_map_color_qsoconfirm = $map_custom->qsoconfirm->color ?? ''; $this->user_map_color_unworked = $map_custom->unworked->color ?? ''; }