mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Bugfixing edit modes
I forgot to add the submode to the edit-function :-)
This commit is contained in:
@@ -48,8 +48,14 @@ class Modes extends CI_Model {
|
||||
}
|
||||
|
||||
function edit() {
|
||||
if ($this->input->post('submode', true) == "")
|
||||
$submode = null;
|
||||
else
|
||||
$submode = xss_clean($this->input->post('submode', true));
|
||||
|
||||
$data = array(
|
||||
'mode' => xss_clean($this->input->post('mode', true)),
|
||||
'submode' => $submode,
|
||||
'qrgmode' => xss_clean(strtoupper($this->input->post('qrgmode', true))),
|
||||
'active' => xss_clean($this->input->post('active', true)),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user