diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php index fbe2b8f69..b2a0dc0d9 100644 --- a/application/controllers/Qso.php +++ b/application/controllers/Qso.php @@ -1,6 +1,9 @@ stations->all_of_user(); $data['radios'] = $this->cat->radios(true); $data['radio_last_updated'] = $this->cat->last_updated()->row(); - $data['query'] = $this->logbook_model->last_custom('5'); + $data['query'] = $this->logbook_model->last_custom(self::LAST_QSOS_COUNT); $data['dxcc'] = $this->logbook_model->fetchDxcc(); $data['iota'] = $this->logbook_model->fetchIota(); $data['modes'] = $this->modes->active(); @@ -601,7 +604,7 @@ class QSO extends CI_Controller { $this->load->model('logbook_model'); session_write_close(); - $data['query'] = $this->logbook_model->last_custom('5'); + $data['query'] = $this->logbook_model->last_custom(self::LAST_QSOS_COUNT); // Load view $this->load->view('qso/components/previous_contacts', $data);