From 03936d7b29f2ffecbc99cce8dd3b6985a487390e Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Tue, 25 Jan 2022 16:27:51 +0800 Subject: [PATCH] * Modify product plan view problem. --- module/build/control.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/module/build/control.php b/module/build/control.php index 8eb3a41655..a65cb4b062 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -260,11 +260,9 @@ class build extends control $executions = $this->loadModel('execution')->getPairs($this->session->project, 'all', 'empty'); - $this->view->title = "BUILD #$build->id $build->name - " . $executions[$build->execution]; - $this->view->position[] = html::a($this->createLink('execution', 'task', "executionID=$build->execution"), $executions[$build->execution]); - $this->view->position[] = $this->lang->build->view; - $this->view->stories = $stories; - $this->view->storyPager = $storyPager; + $this->view->title = "BUILD #$build->id $build->name" . (isset($executions[$build->execution]) ? " - " . $executions[$build->execution] : ''); + $this->view->stories = $stories; + $this->view->storyPager = $storyPager; $generatedBugPager = new pager($type == 'generatedBug' ? $recTotal : 0, $recPerPage, $type == 'generatedBug' ? $pageID : 1); $this->view->generatedBugs = $this->bug->getExecutionBugs($build->execution, $build->product, $build->id, $type, $param, $type == 'generatedBug' ? $orderBy : 'status_desc,id_desc', '', $generatedBugPager);