Fix export with type filter

This commit is contained in:
Nathan Gray 2013-11-13 16:24:04 +00:00
parent 27e45ec31c
commit 27e14eb37a

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;
}