From 937079709514c037959d691c0d653c39d5ea84e6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 20:26:23 -0400 Subject: Minor fixes --- app/Controller/SubtaskController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/SubtaskController.php') diff --git a/app/Controller/SubtaskController.php b/app/Controller/SubtaskController.php index 46061122..93dab5cd 100644 --- a/app/Controller/SubtaskController.php +++ b/app/Controller/SubtaskController.php @@ -54,7 +54,7 @@ class SubtaskController extends BaseController list($valid, $errors) = $this->subtaskValidator->validateCreation($values); if ($valid) { - if ($this->subtaskModel->create($values)) { + if ($this->subtaskModel->create($values) !== false) { $this->flash->success(t('Sub-task added successfully.')); } else { $this->flash->failure(t('Unable to create your sub-task.')); -- cgit v1.2.3