* Fix bug view in project app.

This commit is contained in:
holan20180123
2021-03-25 13:10:46 +08:00
parent 5f7e004151
commit 2e39ad4525
+1
View File
@@ -682,6 +682,7 @@ class bug extends control
if($bug->assignedTo == $this->app->user->account) $this->loadModel('action')->read('bug', $bugID);
/* Set menu. */
if($this->app->openApp == 'project') $this->loadModel('project')->setMenu($bug->project);
if($from == 'bug')
{
$this->qa->setMenu($this->products, $bug->product, $bug->branch);