From 1e9a8043dedaa3625561740a789fe66b2f50da88 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Wed, 3 Jul 2013 07:21:59 +0000 Subject: [PATCH] * code for task$1487. --- module/build/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/build/control.php b/module/build/control.php index 97de60bbad..eeb8f7da13 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -47,7 +47,7 @@ class build extends control $this->view->title = $this->lang->build->create; $this->view->products = $this->project->getProducts($projectID); $this->view->projectID = $projectID; - $this->view->users = $this->user->getPairs(); + $this->view->users = $this->user->getPairs('nodeleted'); $this->view->stories = $stories; $this->view->bugs = $bugs; $this->view->orderBy = $orderBy; @@ -92,8 +92,8 @@ class build extends control $this->view->title = $this->lang->build->edit; $this->view->position[] = $this->lang->build->edit; $this->view->products = $this->project->getProducts($build->project); - $this->view->users = $this->loadModel('user')->getPairs(); $this->view->build = $build; + $this->view->users = $this->loadModel('user')->getPairs('nodeleted', $build->builder); $this->view->stories = $stories; $this->view->bugs = $bugs; $this->view->orderBy = $orderBy;