* Fix bug of create story have reviewers in scrum kanban not update.

This commit is contained in:
xieqiyu
2022-07-14 10:06:00 +08:00
parent bbab93d08d
commit a40daa7208
+1 -1
View File
@@ -2825,7 +2825,7 @@ class kanbanModel extends model
}
}
if($story->stage == 'projected' and strpos($cardPairs['ready'], ",$storyID,") === false and strpos($cardPairs['backlog'], ",$storyID,") === false)
if(strpos('wait,projected', $story->stage) !== false and strpos($cardPairs['ready'], ",$storyID,") === false and strpos($cardPairs['backlog'], ",$storyID,") === false)
{
$cardPairs['backlog'] = empty($cardPairs['backlog']) ? ",$storyID," : ",$storyID" . $cardPairs['backlog'];
}