* [bug#50623,done,0.2h] append story if story exists.

This commit is contained in:
liumengyi
2024-06-05 14:44:56 +08:00
parent 7ee7c45a47
commit 43d1e5b71f
+1 -1
View File
@@ -1026,7 +1026,7 @@ class bugZen extends bug
if(!isset($stories[$bug->storyID]))
{
$bugStory = $this->story->fetchById($bug->storyID);
$stories[$bug->storyID] = $bugStory->title;
$bugStory ? $stories[$bug->storyID] = $bugStory->title : $bug->storyID = 0;
}
return $this->updateBug($bug, array('stories' => $stories));