diff --git a/extension/lite/execution/ext/view/create.html.php b/extension/lite/execution/ext/view/create.html.php index 409d38dc01..94053dac17 100644 --- a/extension/lite/execution/ext/view/create.html.php +++ b/extension/lite/execution/ext/view/create.html.php @@ -102,6 +102,7 @@ + diff --git a/module/execution/model.php b/module/execution/model.php index f7d9f619dc..319c35e1a6 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -327,7 +327,7 @@ class executionModel extends model ->setIF($this->config->systemMode == 'new', 'parent', $this->post->project) ->setIF($this->post->acl == 'open', 'whitelist', '') ->join('whitelist', ',') - ->add('type', $type) + ->setDefault('type', $type) ->stripTags($this->config->execution->editor->create['id'], $this->config->allowedTags) ->remove('products, workDays, delta, branch, uid, plans, teams, teamMembers, contactListMenu') ->get();