Bugfixing edit modes

I forgot to add the submode to the edit-function :-)
这个提交包含在:
Kim Huebel 2020-09-01 22:58:56 +02:00
父节点 3a7ab319da
当前提交 e367dec6cd

查看文件

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