From 89f7ced72dac24b8c956324194adba4e4be1de86 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 3 Jun 2013 14:54:51 +0000 Subject: [PATCH] Fix customfields of type home-accounts not being converted --- importexport/inc/class.importexport_export_csv.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_export_csv.inc.php b/importexport/inc/class.importexport_export_csv.inc.php index b0e598ad22..c8cf91a6c8 100644 --- a/importexport/inc/class.importexport_export_csv.inc.php +++ b/importexport/inc/class.importexport_export_csv.inc.php @@ -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']; }