use more efficient way for post data xss cleaning

This commit is contained in:
HB9HIL
2026-02-15 17:28:39 +01:00
parent ba489f6db8
commit 0f1be21ba5

View File

@@ -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');