* Finish task #50370.

This commit is contained in:
tianshujie
2022-03-10 10:11:56 +08:00
parent a7d66c5fae
commit a0e7c613f3
+4 -2
View File
@@ -1101,8 +1101,6 @@ class story extends control
/* Set the menu. */
$from = $this->app->tab;
$this->product->setMenu($story->product, $story->branch);
if($from == 'execution')
{
$this->execution->setMenu($param);
@@ -1116,6 +1114,10 @@ class story extends control
$products = $this->product->getProductPairsByProject(0, 'noclosed');
$this->loadModel('qa')->setMenu($products, $story->product);
}
else
{
$this->product->setMenu($story->product, $story->branch);
}
$reviewers = $this->story->getReviewerPairs($storyID, $story->version);
$checkSuperReviewed = strpos(',' . trim(zget($this->config->story, 'superReviewers', ''), ',') . ',', ',' . trim($story->reviewedBy, ',') . ',');