* story: use the type property of product instead of the currentProductType variable in session.

This commit is contained in:
liugang
2023-11-08 10:02:28 +08:00
parent bf60b05b60
commit ef7f5cc6b1
+1 -1
View File
@@ -16,7 +16,7 @@ $forceReview = $this->story->checkForceReview();
$assignedToList = $story->status == 'closed' ? $users + array('closed' => 'Closed') : $users;
$planCount = !empty($story->planTitle) ? count($story->planTitle) : 0;
$multiplePlan = ($this->session->currentProductType != 'normal' && empty($story->branch) && $planCount > 1);
$multiplePlan = ($product->type != 'normal' && empty($story->branch) && $planCount > 1);
$minStage = $story->stage;
$stageList = implode(',', array_keys($this->lang->story->stageList));