Automatically add the logged user during project creation

This commit is contained in:
Frédéric Guillot
2014-11-25 20:30:59 -05:00
parent 7731f00e29
commit d68fa290bb
3 changed files with 8 additions and 7 deletions

View File

@@ -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.'));