diff --git a/module/bug/control.php b/module/bug/control.php index f2b2d048c8..28d541123f 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -905,6 +905,7 @@ class bug extends control if($action->action == 'opened') $action->comment = ''; $this->view->bug = $bug; $this->view->action = $action; + $this->view->users = $this->user->getPairs('noletter|nodeleted'); $mailContent = $this->parse($this->moduleName, 'sendmail'); /* Send it. */ diff --git a/module/bug/view/sendmail.html.php b/module/bug/view/sendmail.html.php index 5a8a16eb81..76d4fa0391 100644 --- a/module/bug/view/sendmail.html.php +++ b/module/bug/view/sendmail.html.php @@ -13,7 +13,7 @@
| - BUG #id . "=>$bug->assignedTo " . html::a(common::getSysURL() . $this->createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> + BUG #id . "=>{$users[$bug->assignedTo]} " . html::a(common::getSysURL() . $this->createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> |