From 0f1be21ba556bca392a1f4cf9dd73944b34565e8 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 15 Feb 2026 17:28:39 +0100 Subject: [PATCH] use more efficient way for post data xss cleaning --- application/controllers/Radio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Radio.php b/application/controllers/Radio.php index a4ebc4543..89f3c7c91 100644 --- a/application/controllers/Radio.php +++ b/application/controllers/Radio.php @@ -315,7 +315,7 @@ class Radio extends CI_Controller { function set_default_radio() { // get the radio_id from POST - $clean_radio_id = $this->security->xss_clean($this->input->post('radio_id')); + $clean_radio_id = $this->input->post('radio_id', TRUE); // Check Auth $this->load->model('user_model');