From 9831934ff0751f20acae6344c56d5ed07355c7f4 Mon Sep 17 00:00:00 2001 From: int2001 Date: Wed, 29 Nov 2023 18:32:42 +0000 Subject: [PATCH] Check if Band/Mode is provided. Sometimes there are hiccups where Band/Mode is not given --- application/controllers/Qso.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php index f54c6d04..429f1c07 100755 --- a/application/controllers/Qso.php +++ b/application/controllers/Qso.php @@ -46,6 +46,8 @@ class QSO extends CI_Controller { $this->form_validation->set_rules('start_date', 'Date', 'required'); $this->form_validation->set_rules('start_time', 'Time', 'required'); $this->form_validation->set_rules('callsign', 'Callsign', 'required'); + $this->form_validation->set_rules('band', 'Band', 'required'); + $this->form_validation->set_rules('mode', 'Mode', 'required'); $this->form_validation->set_rules('locator', 'Locator', 'callback_check_locator'); if ($this->form_validation->run() == FALSE)