diff --git a/application/controllers/Contesting.php b/application/controllers/Contesting.php index af2a928e6..d0cad9fd8 100644 --- a/application/controllers/Contesting.php +++ b/application/controllers/Contesting.php @@ -71,6 +71,8 @@ class Contesting extends CI_Controller { public function setSession() { $this->load->model('Contesting_model'); $this->Contesting_model->setSession(); + + $this->session->set_userdata('radio', $this->input->post('radio')); header('Content-Type: application/json'); echo json_encode($this->Contesting_model->getSession()); }