Skip to content

Commit 01bd8c6

Browse files
committed
Catch undefined color
1 parent 6d4bc10 commit 01bd8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/controllers/Awards.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function __construct()
2121

2222
$map_custom = json_decode($this->optionslib->get_map_custom());
2323
$this->user_map_color_qso = $map_custom->qso->color;
24-
$this->user_map_color_qsoconfirm = $map_custom->qsoconfirm->color;
24+
$this->user_map_color_qsoconfirm = $map_custom->qsoconfirm->color ?? '';
2525
$this->user_map_color_unworked = $map_custom->unworked->color ?? '';
2626
}
2727

0 commit comments

Comments
 (0)