summaryrefslogtreecommitdiff
path: root/app/Model/TaskCreation.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-27 19:23:51 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-27 19:23:51 -0500
commit1522be603b4508b03b8fa79a6a3fbfeb90ffece6 (patch)
treec26a1249befdfb87ba91abb53a3cb8b22a5178c7 /app/Model/TaskCreation.php
parent17dc5bdc9ede52ad618bbf326e67e3b6988170f7 (diff)
Fixs after replacing the event dispatcher
Diffstat (limited to 'app/Model/TaskCreation.php')
-rw-r--r--app/Model/TaskCreation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskCreation.php b/app/Model/TaskCreation.php
index 6a2c0f9c..7d523214 100644
--- a/app/Model/TaskCreation.php
+++ b/app/Model/TaskCreation.php
@@ -24,7 +24,7 @@ class TaskCreation extends Base
$this->prepare($values);
$task_id = $this->persist(Task::TABLE, $values);
- if ($task_id) {
+ if ($task_id !== false) {
$this->fireEvents($task_id, $values);
}