This commit is contained in:
sunguangming
2024-05-17 13:40:47 +08:00
parent ddfc5b96df
commit 035a221e71
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ class executionZen extends execution
}
$project = $this->loadModel('project')->fetchByID($execution->project);
if(!($execution->type == 'stage' && in_array($execution->attribute, array('mix', 'request', 'design')))) $project->storyType = 'story';
if(!($execution->type == 'stage' && in_array($execution->attribute, array('mix', 'request', 'design'))) && $project->multiple) $project->storyType = 'story';
$productPairs = $this->loadModel('product')->getProductPairsByProject($execution->id); // Get execution's product.
if(empty($productID)) $productID = (int)key($productPairs);