diff --git a/module/todo/model.php b/module/todo/model.php index 5883071372..6b8269f384 100644 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -30,6 +30,7 @@ class todoModel extends model ->setIF($this->post->type == 'bug' and $this->post->bug, 'idvalue', $this->post->bug) ->setIF($this->post->type == 'task' and $this->post->task, 'idvalue', $this->post->task) ->setIF($this->post->type == 'story' and $this->post->story, 'idvalue', $this->post->story) + ->setIF($this->post->type == 'feedback' and $this->post->feedback, 'idvalue', $this->post->feedback) ->setIF($this->post->date == false, 'date', '2030-01-01') ->setIF($this->post->begin == false, 'begin', '2400') ->setIF($this->post->end == false, 'end', '2400') @@ -67,6 +68,7 @@ class todoModel extends model ->checkIF($todo->type == 'bug' and $todo->idvalue == 0, 'idvalue', 'notempty') ->checkIF($todo->type == 'task' and $todo->idvalue == 0, 'idvalue', 'notempty') ->checkIF($todo->type == 'story' and $todo->idvalue == 0, 'idvalue', 'notempty') + ->checkIF($todo->type == 'feedback' and $todo->idvalue == 0, 'idvalue', 'notempty') ->exec(); if(!dao::isError())