From 9ca68d2ed6c48fb4c91facf91c88aace3e770b3f Mon Sep 17 00:00:00 2001 From: "shiyangyangwork@yahoo.cn" Date: Tue, 10 Jan 2012 08:21:30 +0000 Subject: [PATCH] * fix a bug, which do not update estimate, for manage member for project. --- module/project/control.php | 5 ----- module/project/view/managemembers.html.php | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index 397b0c13f4..7d0454f7f6 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -1015,11 +1015,6 @@ class project extends control foreach($members as $account => $member) { if(!@$users[$member->account]) $member->account .= $this->lang->user->deleted; - if(isset($users[$member->account])) - { - $member->account = substr($users[$member->account], 2); - unset($users[$account]); - } } /* Set menu. */ diff --git a/module/project/view/managemembers.html.php b/module/project/view/managemembers.html.php index 03e571c633..e640242593 100644 --- a/module/project/view/managemembers.html.php +++ b/module/project/view/managemembers.html.php @@ -21,9 +21,11 @@ team->hours;?> $member):?> + account], 2);?> account]);?> - + +