From a232db3c98004b1d8683818417376fd2d1fbb33f Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:24:44 +0200 Subject: [PATCH] [Contesting} Set userdata radio when logging --- application/controllers/Contesting.php | 2 ++ 1 file changed, 2 insertions(+) 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()); }