diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-08 21:44:50 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-08 21:44:50 +0200 |
commit | 8c6df9ef0cea757d25cbbcc6fa7cee86d8739627 (patch) | |
tree | 98dc7555d37d16ce4d01fce72b61e89d08f99a9f /app/Controller | |
parent | 7540e74a56b6a1ac1c00ae06e89f5e356653fe44 (diff) |
Handle the case of tasks with bad previous positions
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Task.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 85c3306e..7210be5f 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -37,10 +37,6 @@ class Task extends Base 'category_id' => $this->request->getIntegerParam('category_id'), ); - if ($values['column_id'] == 0) { - $values['column_id'] = $this->board->getFirstColumn($values['project_id']); - } - list($valid,) = $this->task->validateCreation($values); if ($valid && $this->task->create($values)) { |