mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Contest Controller Adjustments
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user