Fix customfields of type home-accounts not being converted

This commit is contained in:
Nathan Gray 2013-06-03 14:54:51 +00:00
parent 6270bc83f9
commit 89f7ced72d

View File

@ -264,7 +264,8 @@ class importexport_export_csv implements importexport_iface_export_record
$selects[$name] = $c_field['values'];
break;
default:
if(in_array($c_field['type'], array_keys($GLOBALS['egw_info']['apps']))) {
list($type) = explode('-',$c_field['type'],2);
if(in_array($type, array_keys($GLOBALS['egw_info']['apps']))) {
$fields['links'][] = $name;
$links[$name] = $c_field['type'];
}