diff options
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 f0847ef2..52c2b870 100644 --- a/app/Controller/Project.php +++ b/app/Controller/Project.php @@ -323,7 +323,7 @@ class Project extends Base if ($this->request->getStringParam('duplicate') === 'yes') { $values = array_keys($this->request->getValues()); - if ($this->projectDuplication->duplicate($project['id'], $values)) { + if ($this->projectDuplication->duplicate($project['id'], $values) !== false) { $this->session->flash(t('Project cloned successfully.')); } else { $this->session->flashError(t('Unable to clone this project.')); |