Skip to content

Commit 00ee440

Browse files
committed
Fixed DOK and VUCC
1 parent 16148d2 commit 00ee440

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

application/models/Dok.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function get_dok_array($bands, $postdata, $location_list) {
2828
$dokBand = $this->getDokWorked($location_list, $band, $postdata);
2929
foreach ($dokBand as $line) {
3030
if (array_key_exists($line->COL_DARC_DOK, $bandDok)) { /* For now ignore DOKs which are logged but not existing in the official lists any more */
31-
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-danger awardsBgDanger"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","' . $postdata['mode'] . '","DOK", "")\'>W</a></div>';
31+
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-danger awardsBgDanger"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","All","All","' . $postdata['mode'] . '","DOK", "")\'>W</a></div>';
3232
$doks[$line->COL_DARC_DOK]['count']++;
3333
}
3434
}
@@ -38,7 +38,7 @@ function get_dok_array($bands, $postdata, $location_list) {
3838
$dokBand = $this->getDokConfirmed($location_list, $band, $postdata);
3939
foreach ($dokBand as $line) {
4040
if (array_key_exists($line->COL_DARC_DOK, $bandDok)) { /* For now ignore DOKs which are logged but not existing in the official lists any more */
41-
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-success awardsBgSuccess"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","' . $postdata['mode'] . '","DOK", "'.$qsl.'")\'>C</a></div>';
41+
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-success awardsBgSuccess"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","All","All"' . $postdata['mode'] . '","DOK", "'.$qsl.'")\'>C</a></div>';
4242
$doks[$line->COL_DARC_DOK]['count']++;
4343
}
4444
}

application/views/awards/vucc/band.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
foreach ($vucc_array as $vucc => $value) { // Fills the table with the data
2424
echo '<tr>
2525
<td>'. $i++ .'</td>
26-
<td><a href=\'javascript:displayContacts("'. $vucc .'","'. $band . '","All","VUCC")\'>'. $vucc .'</td>';
26+
<td><a href=\'javascript:displayContacts("'. $vucc .'","'. $band . '","All","All","All","VUCC")\'>'. $vucc .'</td>';
2727

2828
if ($type != 'worked') {
2929
echo '<td>'. $value['qsl'] . '</td>

0 commit comments

Comments
 (0)