From ac2bf9d553abf17ca9f24cb5dcbfc011d4486215 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 8 Feb 2016 18:24:15 -0500 Subject: Fix PHP notices during creation of first project and in subtasks table --- app/Controller/ProjectCreation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/ProjectCreation.php') diff --git a/app/Controller/ProjectCreation.php b/app/Controller/ProjectCreation.php index 61ea2586..88f41fcd 100644 --- a/app/Controller/ProjectCreation.php +++ b/app/Controller/ProjectCreation.php @@ -73,7 +73,7 @@ class ProjectCreation extends Base */ private function createOrDuplicate(array $values) { - if ($values['src_project_id'] == 0) { + if (empty($values['src_project_id'])) { return $this->createNewProject($values); } -- cgit v1.2.3