diff --git a/module/bug/control.php b/module/bug/control.php index 811234831b..e563d964c2 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -574,6 +574,8 @@ class bug extends control /* Set custom. */ foreach(explode(',', $this->config->bug->list->customCreateFields) as $field) $customFields[$field] = $this->lang->bug->$field; + /* In repair classic mode, when the project is required, the asterisk is not displayed. */ + if($this->config->systemMode == 'classic' and strpos($this->config->bug->create->requiredFields, 'project') !== false) $this->config->bug->create->requiredFields = str_replace('project', 'execution', $this->config->bug->create->requiredFields); $this->view->title = isset($this->products[$productID]) ? $this->products[$productID] . $this->lang->colon . $this->lang->bug->create : $this->lang->bug->create; $this->view->customFields = $customFields;