Added prefix to dxcc dropdown in station location.

This commit is contained in:
Andreas
2022-02-12 12:07:36 +01:00
parent a52827fdc0
commit 2418f63b2e
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
<?php
if ($dxcc_list->num_rows() > 0) {
foreach ($dxcc_list->result() as $dxcc) {
echo '<option value=' . $dxcc->adif . '> ' . $dxcc->name . ' - ' . $dxcc->prefix;
echo '<option value=' . $dxcc->adif . '> ' . ucwords(strtolower($dxcc->name)) . ' - ' . $dxcc->prefix;
if ($dxcc->end != null) {
echo ' (deleted)';
}