From 857a0a244c85196c535083f10d4f79fa8c09cec9 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 20 Nov 2009 02:47:29 +0000 Subject: [PATCH] * save the bug list to session. --- trunk/module/my/control.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/trunk/module/my/control.php b/trunk/module/my/control.php index df8a0fc10c..59824c07a5 100644 --- a/trunk/module/my/control.php +++ b/trunk/module/my/control.php @@ -96,6 +96,18 @@ class my extends control $header['title'] = $this->lang->my->common . $this->lang->colon . $this->lang->my->bug; $position[] = $this->lang->my->bug; + $this->session->set('bugList', $this->app->getURI(true)); + + $productID = common::saveProductState($productID, key($this->products)); + $currentModuleID = ($type == 'bymodule') ? (int)$param : 0; + if($currentModuleID == 0) + { + $currentModuleName = $this->lang->bug->allBugs; + } + else + { + $currentModule = $this->tree->getById($currentModuleID); + /* 赋值。*/ $this->assign('header', $header); $this->assign('position', $position);