mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Value of constant should also be used in text message
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class QSO extends CI_Controller {
|
||||
|
||||
const LAST_QSOS_COUNT = 5; // max number of most recent qsos to be displayed on a qso page
|
||||
const LAST_QSOS_COUNT = 5; // max number of most recent qsos to be displayed on a qso page
|
||||
|
||||
function __construct()
|
||||
{
|
||||
@@ -86,6 +86,8 @@ class QSO extends CI_Controller {
|
||||
$data['user_dok_to_qso_tab'] = 0;
|
||||
}
|
||||
|
||||
$data['qso_count'] = self::LAST_QSOS_COUNT;
|
||||
|
||||
$this->load->library('form_validation');
|
||||
|
||||
$this->form_validation->set_rules('start_date', 'Date', 'required');
|
||||
|
||||
Reference in New Issue
Block a user