diff --git a/framework/control.class.php b/framework/control.class.php index c5f480c34f..9d9c7da6ac 100644 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -76,7 +76,7 @@ class control extends baseControl { foreach($exportFields as $field) { - if($field->control == 'richtext') $this->config->excel->editor[$this->moduleName][] = $field->field; + if(isset($field->control) && $field->control == 'richtext') $this->config->excel->editor[$this->moduleName][] = $field->field; } } diff --git a/module/bug/config/table.php b/module/bug/config/table.php index 7c4fa75800..c6116e204b 100644 --- a/module/bug/config/table.php +++ b/module/bug/config/table.php @@ -61,7 +61,7 @@ $config->bug->dtable->fieldList['branch']['sortType'] = true; $config->bug->dtable->fieldList['project']['title'] = $lang->bug->project; $config->bug->dtable->fieldList['project']['type'] = 'text'; $config->bug->dtable->fieldList['project']['group'] = 3; -$config->bug->dtable->fieldList['project']['dataSource'] = array('module' => 'project', 'method' => 'getPairs'); +$config->bug->dtable->fieldList['project']['dataSource'] = array('module' => 'project', 'method' => 'getPairs', 'params' => ['ignoreVision' => false]); $config->bug->dtable->fieldList['project']['sortType'] = true; $config->bug->dtable->fieldList['execution']['title'] = $lang->bug->execution;