From ae949e3b2f4482c793c00e81804afa154e5c4634 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Fri, 6 Oct 2023 13:14:54 +0200 Subject: [PATCH] Contest Controller Adjustments --- application/controllers/Contesting.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/controllers/Contesting.php b/application/controllers/Contesting.php index 64718f23..87343ae5 100644 --- a/application/controllers/Contesting.php +++ b/application/controllers/Contesting.php @@ -80,7 +80,7 @@ class Contesting extends CI_Controller { $this->load->library('form_validation'); $this->form_validation->set_rules('name', 'Contest Name', 'required'); - $this->form_validation->set_rules('adifname', 'Contest Adif Name', 'required'); + $this->form_validation->set_rules('adifname', 'Adif Contest Name', 'required'); if ($this->form_validation->run() == FALSE) { @@ -106,9 +106,8 @@ class Contesting extends CI_Controller { } public function edit($id) { - $this->load->library('form_validation'); - $this->load->model('Contesting_model'); + $this->load->library('form_validation'); $item_id_clean = $this->security->xss_clean($id);