diff --git a/module/bug/control.php b/module/bug/control.php index 9f3d39db7c..99dd327aaa 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -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(); } diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index c99a3a42f6..3e93fb4a9c 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -160,11 +160,11 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);