+ [bug#50445,done,0.5h] append bug story to stories.

This commit is contained in:
liumengyi
2024-06-05 10:03:25 +08:00
parent d71a00e462
commit 8a5421f2af
+5
View File
@@ -1023,6 +1023,11 @@ class bugZen extends bug
{
$stories = $this->story->getProductStoryPairs($productID, $branch, $moduleID, 'active,closed', 'id_desc', 0, 'full', 'story', false);
}
if(!isset($stories[$bug->storyID]))
{
$bugStory = $this->story->fetchById($bug->storyID);
$stories[$bug->storyID] = $bugStory->title;
}
return $this->updateBug($bug, array('stories' => $stories));
}