This commit is contained in:
lanzongjun
2022-12-02 15:34:11 +08:00
parent a4563c065a
commit 3b09109e21
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2937,7 +2937,7 @@ class executionModel extends model
{
foreach($planStory as $id => $story)
{
if($story->status == 'draft' or $story->status == 'reviewing' or (!empty($executionBranches) and !isset($executionBranches[$story->branch])))
if($story->status == 'draft' or $story->status == 'reviewing' or (!empty($executionBranches) and !isset($executionBranches[$story->branch]) and !empty($story->branch)))
{
unset($planStory[$id]);
continue;