diff options
Diffstat (limited to 'app/Controller/ColumnController.php')
-rw-r--r-- | app/Controller/ColumnController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/ColumnController.php b/app/Controller/ColumnController.php index 8bf3d562..95fbcaaa 100644 --- a/app/Controller/ColumnController.php +++ b/app/Controller/ColumnController.php @@ -66,7 +66,7 @@ class ColumnController extends BaseController list($valid, $errors) = $this->columnValidator->validateCreation($values); if ($valid) { - if ($this->columnModel->create($project['id'], $values['title'], $values['task_limit'], $values['description'])) { + if ($this->columnModel->create($project['id'], $values['title'], $values['task_limit'], $values['description']) !== false) { $this->flash->success(t('Column created successfully.')); return $this->response->redirect($this->helper->url->to('ColumnController', 'index', array('project_id' => $project['id'])), true); } else { |