[DXCC Award] Added ucwords to the DXCC Name so that it displays nicer

pull/1610/head
Andreas 2022-09-20 12:18:40 +02:00
rodzic 66a54078e6
commit 8527598c22
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) ? "<div class='alert-danger'>Y</div>" : '';