summaryrefslogtreecommitdiff
path: root/app/Controller/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-25 20:30:59 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-25 20:30:59 -0500
commitd68fa290bb54e12b0532c539370408435d23e639 (patch)
tree8b0fa3a21079a6aa62377ed75ae5c9998435075d /app/Controller/Project.php
parent7731f00e29b36806af284ac2771b03e223da846a (diff)
Automatically add the logged user during project creation
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r--app/Controller/Project.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index 22139323..6f224406 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -560,7 +560,7 @@ class Project extends Base
if ($valid) {
- $project_id = $this->project->create($values, $this->acl->getUserId());
+ $project_id = $this->project->create($values, $this->acl->getUserId(), true);
if ($project_id) {
$this->session->flash(t('Your project have been created successfully.'));