summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectCreationController.php
diff options
context:
space:
mode:
authorFlorian Völker <github@floyer.de>2019-06-26 14:58:47 +0200
committerfguillot <fred@kanboard.net>2019-06-27 19:39:02 -0700
commitefed94b23d592647f889ef03b144a91e8fbb6098 (patch)
treeef5f227f0b4f62ffe3c9fc27651b8e1c6c74199a /app/Controller/ProjectCreationController.php
parent02f6e94e24d5f717bd610da4a69049f81d13a0fc (diff)
Add "identifier" beside "name" while creating a new project
Diffstat (limited to 'app/Controller/ProjectCreationController.php')
-rw-r--r--app/Controller/ProjectCreationController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controller/ProjectCreationController.php b/app/Controller/ProjectCreationController.php
index c471cfdd..b9458bdd 100644
--- a/app/Controller/ProjectCreationController.php
+++ b/app/Controller/ProjectCreationController.php
@@ -96,13 +96,14 @@ class ProjectCreationController extends BaseController
$project = array(
'name' => $values['name'],
'is_private' => $values['is_private'],
+ 'identifier' => $values['identifier'],
);
return $this->projectModel->create($project, $this->userSession->getId(), true);
}
/**
- * Creatte from another project
+ * Create from another project
*
* @access private
* @param array $values