* Fix PRJ param.

This commit is contained in:
zhujinyong
2021-03-17 15:51:33 +08:00
parent e279dff340
commit 35e168ac15
2 changed files with 2 additions and 34 deletions

View File

@@ -11,38 +11,6 @@
*/
class qa extends control
{
/**
* Project id.
*
* @var int
* @access public
*/
public $projectID;
/**
* Construct.
*
* @access public
* @return void
*/
public function __construct()
{
parent::__construct();
/* Set qa menu group. */
$this->projectID = isset($_GET['PRJ']) ? $_GET['PRJ'] : 0;
if(!$this->projectID)
{
foreach($this->config->qa->menuList as $module) $this->lang->navGroup->$module = 'qa';
$this->lang->noMenuModule[] = $this->app->rawModule;
}
else
{
$this->lang->qa->menu = $this->lang->projectQa->menu;
$this->lang->qa->subMenu = $this->lang->projectQa->subMenu;
}
}
/**
* The index of qa, go to bug's browse page.
*