Fix export with type filter

This commit is contained in:
Nathan Gray 2013-11-12 18:12:07 +00:00
parent 45a70dcf1d
commit ab8f7885c9

View File

@ -100,8 +100,8 @@ class addressbook_export_contacts_csv implements importexport_iface_export_plugi
}
continue;
}
if(strpos($field, '#') !== 0)
// Custom fields & listed are not filtered with contact_ prefix
if(strpos($field, '#') !== 0 && !in_array($field, array('tid')))
{
$field = 'contact_'.$field;
}