diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 20:26:23 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 20:26:23 -0400 |
commit | 937079709514c037959d691c0d653c39d5ea84e6 (patch) | |
tree | 37e0d6c28c0b2294d433e48e454358ced66ac6c9 /app/Controller/SwimlaneController.php | |
parent | 729c933d001d699837d90d151acbed1093a8c6f5 (diff) |
Minor fixes
Diffstat (limited to 'app/Controller/SwimlaneController.php')
-rw-r--r-- | app/Controller/SwimlaneController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/SwimlaneController.php b/app/Controller/SwimlaneController.php index 4b9567e6..c7c20ce8 100644 --- a/app/Controller/SwimlaneController.php +++ b/app/Controller/SwimlaneController.php @@ -81,7 +81,7 @@ class SwimlaneController extends BaseController list($valid, $errors) = $this->swimlaneValidator->validateCreation($values); if ($valid) { - if ($this->swimlaneModel->create($values)) { + if ($this->swimlaneModel->create($values) !== false) { $this->flash->success(t('Your swimlane have been created successfully.')); return $this->response->redirect($this->helper->url->to('SwimlaneController', 'index', array('project_id' => $project['id']))); } else { |