Contest Controller Adjustments
这个提交包含在:
父节点
65c9f5e9fb
当前提交
ae949e3b2f
共有 1 个文件被更改,包括 2 次插入 和 3 次删除
|
|
@ -80,7 +80,7 @@ class Contesting extends CI_Controller {
|
||||||
$this->load->library('form_validation');
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
$this->form_validation->set_rules('name', 'Contest Name', 'required');
|
$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)
|
if ($this->form_validation->run() == FALSE)
|
||||||
{
|
{
|
||||||
|
|
@ -106,9 +106,8 @@ class Contesting extends CI_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function edit($id) {
|
public function edit($id) {
|
||||||
$this->load->library('form_validation');
|
|
||||||
|
|
||||||
$this->load->model('Contesting_model');
|
$this->load->model('Contesting_model');
|
||||||
|
$this->load->library('form_validation');
|
||||||
|
|
||||||
$item_id_clean = $this->security->xss_clean($id);
|
$item_id_clean = $this->security->xss_clean($id);
|
||||||
|
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用