mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
more hard test for the get parameter
This commit is contained in:
@@ -21,7 +21,12 @@ class QSO extends CI_Controller {
|
||||
// Getting the live/post mode from GET command
|
||||
// 0 = live
|
||||
// 1 = post (manual)
|
||||
$data['manual_mode'] = $this->security->xss_clean($this->input->get('manual'));
|
||||
$get_manual_mode = $this->security->xss_clean($this->input->get('manual'));
|
||||
if ($get_manual_mode == '0' || $get_manual_mode == '1') {
|
||||
$data['manual_mode'] = $get_manual_mode;
|
||||
} else {
|
||||
show_404();
|
||||
}
|
||||
|
||||
$data['active_station_profile'] = $this->stations->find_active();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user