From d1c123769e353da7f54351337c40f8a24a269e46 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 1 Nov 2011 01:20:04 +0000 Subject: [PATCH] * add letter when resolve or activated a bug. --- module/bug/control.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index abaf265c9a..40ea882492 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -560,7 +560,8 @@ class bug extends control */ public function resolve($bugID) { - $this->view->users = $this->user->getPairs('noletter'); + $this->view->users = $this->user->getPairs('nodeleted'); + if(!empty($_POST)) { $this->bug->resolve($bugID); @@ -593,7 +594,8 @@ class bug extends control */ public function activate($bugID) { - $this->view->users = $this->user->getPairs('noletter'); + $this->view->users = $this->user->getPairs('nodeleted'); + if(!empty($_POST)) { $this->bug->activate($bugID);