From 748dde06b19f76dd3ad824f09e0ba7df2536ef3a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 23 Apr 2010 12:11:23 +0000 Subject: [PATCH] "- fixed not exported custom fields, if field is valid for more then one type - fixed not exported regular fields: info_datemodified, info_modifier, info_id" --- infolog/inc/class.infolog_ui.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 09e29c6ed3..171f95374d 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1749,12 +1749,15 @@ class infolog_ui 'info_status' => lang('Status'), 'info_percent' => lang('Completed'), 'info_datecompleted' => lang('Date completed'), + 'info_datemodified' => lang('Last modified'), + 'info_modifier' => array('label' => lang('Modifier'),'type' => 'select-account'), 'info_location' => lang('Location'), 'info_startdate' => lang('Startdate'), 'info_enddate' => lang('Enddate'), 'info_responsible' => array('label' => lang('Responsible'),'type' => 'select-account'), 'info_subject' => lang('Subject'), 'info_des' => lang('Description'), + 'info_id' => lang('Id'), // PM fields 'info_planned_time' => lang('planned time'), 'info_used_time' => lang('used time'), @@ -1767,7 +1770,7 @@ class infolog_ui } foreach($this->bo->customfields as $name => $data) { - if ($data['type2'] && $type && $data['type2'] != $type) continue; + if ($data['type2'] && $type && !in_array($type,explode(',',$data['type2']))) continue; $fields['#'.$name] = array( 'label' => $data['label'],