* Fix bug#11475.

This commit is contained in:
qiyu-xie
2021-03-25 13:06:35 +08:00
parent 6832646dbc
commit 5f7e004151
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -373,6 +373,10 @@ class bug extends control
{
$location = $this->createLink('execution', 'bug', "executionID={$output['executionID']}");
}
if(isset($output['projectID']))
{
$location = $this->createLink('project', 'bug', "projectID={$output['projectID']}");
}
else
{
setcookie('bugModule', 0, 0, $this->config->webRoot, '', false, false);
+1 -1
View File
@@ -53,7 +53,7 @@
<?php $params = isset($testtask) ? ",testtask=$testtask->id,executionID=$testtask->execution,buildID=$testtask->build" : '';?>
<tr class='result-detail hide' id='tr-detail_<?php echo $trCount++; ?>'>
<td colspan='7' class='pd-0'>
<form data-params='<?php echo "product=$case->product&branch=$case->branch&extras=caseID=$case->id,version=$case->version,resultID=$result->id,runID=$runID" . $params?>' method='post'>
<form data-params='<?php echo "product=$case->product&branch=$case->branch&extras=projectID={$this->session->project},caseID=$case->id,version=$case->version,resultID=$result->id,runID=$runID" . $params?>' method='post'>
<table class='table table-condensed resultSteps'>
<thead>
<tr>