Removed commented out stuff

This commit is contained in:
Andreas Kristiansen
2026-02-24 10:05:49 +01:00
parent 10e66bbdad
commit c0e97984ed

View File

@@ -1604,21 +1604,17 @@ class Awards extends CI_Controller {
$logbooks_locations_array = $this->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
$this->load->model('cq');
$this->load->model('bands');
$this->load->model('bands');
$data['worked_bands'] = $this->bands->get_worked_bands('cq');
if ($this->input->post('band') == 'All') { // Did the user specify a band? If not, use all bands
if ($this->input->post('band') == 'All') {
$bands = $data['worked_bands'];
}
else {
$bands[] = $this->input->post('band');
}
// $data['bands'] = $bands; // Used for displaying selected band(s) in the table in the view
// $bands[] = $this->input->post('band');
$postdata['qsl'] = $this->input->post('qsl') == 0 ? NULL: 1;
$postdata['lotw'] = $this->input->post('lotw') == 0 ? NULL: 1;
$postdata['eqsl'] = $this->input->post('eqsl') == 0 ? NULL: 1;