Bugfixing edit modes

I forgot to add the submode to the edit-function :-)
pull/596/head
Kim Huebel 2020-09-01 22:58:56 +02:00
rodzic 3a7ab319da
commit e367dec6cd
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

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