diff --git a/module/execution/model.php b/module/execution/model.php index f4393ec61a..df927b6ba8 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -545,11 +545,8 @@ class executionModel extends model ->exec(); if(isset($execution->project) and $execution->project) $this->addProjectMembers($execution->project, $teamMembers); - if(!empty($execution->whitelist)) - { - $whitelist = explode(',', $execution->whitelist); - $this->loadModel('personnel')->updateWhitelist($whitelist, 'sprint', $executionID); - } + $whitelist = explode(',', $execution->whitelist); + $this->loadModel('personnel')->updateWhitelist($whitelist, 'sprint', $executionID); /* Fix bug#3074, Update views for team members. */ if($execution->acl != 'open') $this->updateUserView($executionID, 'sprint', $changedAccounts); diff --git a/module/kanban/control.php b/module/kanban/control.php index 5b4e54a957..36cc82bfd6 100644 --- a/module/kanban/control.php +++ b/module/kanban/control.php @@ -1397,7 +1397,7 @@ class kanban extends control $kanbanID = $this->kanban->getKanbanIDByregion($regionID); $kanbanGroup = $this->kanban->getRDKanban($kanbanID); - + return print(json_encode($kanbanGroup)); }