* Fix bug #27632.
This commit is contained in:
@@ -503,6 +503,8 @@ class bug extends control
|
||||
$type = 'codeerror';
|
||||
$pri = 3;
|
||||
$color = '';
|
||||
$feedbackBy = '';
|
||||
$notifyEmail = '';
|
||||
|
||||
/* Parse the extras. extract fix php7.2. */
|
||||
$extras = str_replace(array(',', ' '), array('&', ''), $extras);
|
||||
@@ -528,6 +530,8 @@ class bug extends control
|
||||
$deadline = helper::isZeroDate($bug->deadline) ? '' : $bug->deadline;
|
||||
$color = $bug->color;
|
||||
$testtask = $bug->testtask;
|
||||
$feedbackBy = $bug->feedbackBy;
|
||||
$notifyEmail = $bug->notifyEmail;
|
||||
if($pri == 0) $pri = '3';
|
||||
}
|
||||
|
||||
@@ -688,6 +692,8 @@ class bug extends control
|
||||
$this->view->stepsRequired = strpos($this->config->bug->create->requiredFields, 'steps');
|
||||
$this->view->isStepsTemplate = $steps == $this->lang->bug->tplStep . $this->lang->bug->tplResult . $this->lang->bug->tplExpect ? true : false;
|
||||
$this->view->issueKey = $from == 'sonarqube' ? $output['sonarqubeID'] . ':' . $output['issueKey'] : '';
|
||||
$this->view->feedbackBy = $feedbackBy;
|
||||
$this->view->notifyEmail = $notifyEmail;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -160,11 +160,11 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
|
||||
<?php if($showNoticefeedbackBy):?>
|
||||
<tr>
|
||||
<th><nobr><?php echo $lang->bug->feedbackBy;?></nobr></th>
|
||||
<td><?php echo html::input('feedbackBy', '', "class='form-control'");?></td>
|
||||
<td><?php echo html::input('feedbackBy', $feedbackBy, "class='form-control'");?></td>
|
||||
<td id='notifyEmailTd'>
|
||||
<div class='input-group'>
|
||||
<span class='input-group-addon'><?php echo $lang->bug->notifyEmail?></span>
|
||||
<span><?php echo html::input('notifyEmail', '', "class='form-control'");?></span>
|
||||
<span><?php echo html::input('notifyEmail', $notifyEmail, "class='form-control'");?></span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -173,9 +173,9 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
|
||||
<td>
|
||||
<div class='input-group' id='feedback'>
|
||||
<span class="input-group-addon"><?php echo $lang->bug->feedbackBy?></span>
|
||||
<?php echo html::input('feedbackBy', '', "class='form-control'");?>
|
||||
<?php echo html::input('feedbackBy', $feedbackBy, "class='form-control'");?>
|
||||
<span class="input-group-addon"><?php echo $lang->bug->notifyEmail?></span>
|
||||
<?php echo html::input('notifyEmail', '', "class='form-control'");?>
|
||||
<?php echo html::input('notifyEmail', $notifyEmail, "class='form-control'");?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user