diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 81304fcb..0bfdceab 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -131,7 +131,7 @@ class Awards extends CI_Controller { $dxcclist = $this->dxcc->fetchdxcc($postdata); $data['dxcc_array'] = $this->dxcc->get_dxcc_array($dxcclist, $bands, $postdata); - $data['dxcc_summary'] = $this->dxcc->get_dxcc_summary($bands); + $data['dxcc_summary'] = $this->dxcc->get_dxcc_summary($data['worked_bands']); // Render Page $data['page_title'] = "Awards - DXCC"; diff --git a/application/views/awards/dxcc/index.php b/application/views/awards/dxcc/index.php index 1b56012b..d1d2d44a 100644 --- a/application/views/awards/dxcc/index.php +++ b/application/views/awards/dxcc/index.php @@ -162,7 +162,7 @@ '; - foreach($bands as $band) { + foreach($worked_bands as $band) { echo '' . $band . ''; } echo 'Total