diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-25 18:08:28 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-25 18:08:28 -0500 |
commit | 1fc6d69e2e25d6e4feaa38fe03dab98c75cfb36c (patch) | |
tree | 984e346cefa4b34b6bb5cfa4454f2156e64fe1da /app/Controller/Project.php | |
parent | e6cf1bf23648f02615eeeddd34b0f4f2578f1f0a (diff) |
Fix bug duplicate project with a too long name
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r-- | app/Controller/Project.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php index a53c917c..4beb19ce 100644 --- a/app/Controller/Project.php +++ b/app/Controller/Project.php @@ -307,7 +307,7 @@ class Project extends Base $this->checkCSRFParam(); - if ($this->project->duplicate($project['id'])) { + if ($this->projectDuplication->duplicate($project['id'])) { $this->session->flash(t('Project cloned successfully.')); } else { $this->session->flashError(t('Unable to clone this project.')); |