From 8527598c229379d82601ae4c4ed068a094fb1a80 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 20 Sep 2022 12:18:40 +0200 Subject: [PATCH] [DXCC Award] Added ucwords to the DXCC Name so that it displays nicer --- application/models/Dxcc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Dxcc.php b/application/models/Dxcc.php index c6d778ce..2d4c8f8f 100644 --- a/application/models/Dxcc.php +++ b/application/models/Dxcc.php @@ -71,7 +71,7 @@ class DXCC extends CI_Model { foreach ($bands as $band) { // Looping through bands and entities to generate the array needed for display foreach ($dxccArray as $dxcc) { - $dxccMatrix[$dxcc->adif]['name'] = $dxcc->name; + $dxccMatrix[$dxcc->adif]['name'] = ucwords(strtolower($dxcc->name), "- (/"); $dxccMatrix[$dxcc->adif]['Dxccprefix'] = $dxcc->prefix; if ($postdata['includedeleted']) $dxccMatrix[$dxcc->adif]['Deleted'] = isset($dxcc->Enddate) ? "