diff --git a/application/models/Dxcc.php b/application/models/Dxcc.php index ecaf4a473..3a6f53383 100644 --- a/application/models/Dxcc.php +++ b/application/models/Dxcc.php @@ -88,7 +88,7 @@ class DXCC extends CI_Model { if ($postdata['confirmed'] != NULL) { $confirmedDXCC = $this->getDxccBandConfirmed($location_list, $band, $postdata); foreach ($confirmedDXCC as $cdxcc) { - $dxccMatrix[$cdxcc->dxcc][$band] = '
name).'","'. $band . '","'. $postdata['sat'] . '","'. $postdata['orbit'] . '","' . $postdata['mode'] . '","DXCC","'.$qsl.'")\'>C
'; + $dxccMatrix[$cdxcc->dxcc][$band] = '
name).'","'. $band . '","'. $postdata['sat'] . '","'. $postdata['orbit'] . '","' . $postdata['mode'] . '","DXCC","'.$qsl.'")\'>C
'; } } } @@ -402,7 +402,7 @@ class DXCC extends CI_Model { if ($band == 'SAT') { $sql .= " and thcv.col_prop_mode ='" . $band . "'"; - if ($band != 'All') { + if ($band != 'All' && $postdata['sat'] != 'All') { $sql .= " and col_sat_name ='" . $postdata['sat'] . "'"; } } else if ($band == 'All') {