summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 10:36:46 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 10:36:46 -0500
commit3279768c1cff1534f435a080c4765f8a45290a4e (patch)
treecf6b98defc6a4eaf646939cb379d968d097749d3 /app/Controller
parentbb040cfb78d53696edd63bf256d0fd8ba3ccdbfa (diff)
Have a new task assigned to the creator by default instead of "no assignee"
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Taskcreation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php
index dc942594..ed2ac1b9 100644
--- a/app/Controller/Taskcreation.php
+++ b/app/Controller/Taskcreation.php
@@ -25,6 +25,7 @@ class Taskcreation extends Base
'swimlane_id' => $this->request->getIntegerParam('swimlane_id', key($swimlanes_list)),
'column_id' => $this->request->getIntegerParam('column_id'),
'color_id' => $this->color->getDefaultColor(),
+ 'owner_id' => $this->userSession->getId(),
);
}