diff --git a/module/execution/model.php b/module/execution/model.php index 6a2783adb0..afe46ce8d1 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -2276,9 +2276,9 @@ class executionModel extends model extract($data); $executionType = $execution->type; - $accounts = array_unique($accounts); - $limited = array_values($limited); - $oldJoin = $this->dao->select('`account`, `join`')->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->fetchPairs(); + $accounts = array_unique($accounts); + $limited = array_values($limited); + $oldJoin = $this->dao->select('`account`, `join`')->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->fetchPairs(); $this->dao->delete()->from(TABLE_TEAM)->where('root')->eq((int)$executionID)->andWhere('type')->eq($executionType)->exec(); $executionMember = array(); diff --git a/module/project/control.php b/module/project/control.php index f4be96a87e..d78af391d4 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -795,7 +795,7 @@ class project extends control if(!empty($_POST)) { - $this->project->manageMembers($projectID); + $this->execution->manageMembers($projectID); $link = $this->createLink('project', 'manageMembers', "projectID=$projectID"); $this->send(array('message' => $this->lang->saveSuccess, 'result' => 'success', 'locate' => $link)); } diff --git a/module/project/view/managemembers.html.php b/module/project/view/managemembers.html.php index 8fd1a51807..968b5caa5b 100644 --- a/module/project/view/managemembers.html.php +++ b/module/project/view/managemembers.html.php @@ -72,7 +72,7 @@ - + team->limitedList, 'no');?>