diff --git a/module/testreport/zen.php b/module/testreport/zen.php index d3a087bc89..d61e60c075 100644 --- a/module/testreport/zen.php +++ b/module/testreport/zen.php @@ -156,7 +156,7 @@ class testreportZen extends testreport $tasks = array($task->id => $task); $owner = $task->owner; $stories = empty($build->stories) ? array() : $this->story->getByList($build->stories); - $execution = $this->execution->getById($task->execution); + $execution = $this->execution->getById($task->execution ? $task->execution : $task->project); $this->setChartDatas($objectID);