* Finish task #61441.

This commit is contained in:
zhouxudong
2022-07-20 03:07:38 +00:00
parent 178ea59c4e
commit 8e46671c20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2204,7 +2204,7 @@ class task extends control
$task->story = isset($relatedStories[$task->story]) ? $relatedStories[$task->story] . "(#$task->story)" : '';
$bug = $this->loadModel('bug')->getByID($task->fromBug);
$task->fromBug = empty($task->fromBug) ? '0' : "#$task->fromBug " . $bug->title;
$task->fromBug = empty($task->fromBug) ? '' : "#$task->fromBug " . $bug->title;
if(isset($executions[$task->execution])) $task->execution = $executions[$task->execution] . "(#$task->execution)";
if(isset($taskLang->typeList[$task->type])) $task->type = $taskLang->typeList[$task->type];