mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
use more efficient way for post data xss cleaning
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user