Fix bug duplicate project with a too long name

This commit is contained in:
Frederic Guillot
2015-01-25 18:08:28 -05:00
parent e6cf1bf236
commit 1fc6d69e2e
7 changed files with 185 additions and 64 deletions

View File

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