diff --git a/ChangeLog b/ChangeLog index bf5d3d6cc..a59439a96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Version 1.0.26 (unreleased) +-------------- + +Bug fixes: + +* Fix PHP notices during creation of first project and in subtasks table + Version 1.0.25 -------------- diff --git a/app/Controller/ProjectCreation.php b/app/Controller/ProjectCreation.php index 61ea25866..88f41fcd2 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); } diff --git a/app/Controller/SubtaskStatus.php b/app/Controller/SubtaskStatus.php index ef0ec0810..4fb82fc07 100644 --- a/app/Controller/SubtaskStatus.php +++ b/app/Controller/SubtaskStatus.php @@ -66,6 +66,7 @@ class SubtaskStatus extends Base 'task' => $task, 'subtasks' => $this->subtask->getAll($task['id']), 'editable' => true, + 'redirect' => 'task', )); } }