Active
Project:
Import/Export
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 16:46 UTC
Updated:
30 Mar 2009 at 16:46 UTC
Looks like there were some more changes to the CCK modules after the last update - field groups are handled differently, here is a small update to import_export_tool_types_views_export_submit(). Again, sorry I can't include a patch file :)
$groups = array();
if (module_exists('fieldgroup')) {
- $groups = content_copy_groups($type_name);
+ $groups = fieldgroup_groups($type_name);
}
$frm['type_name'] = $type_name;
- foreach ($groups as $group_index => $group_name) {
- $frm['groups'][] = $group_name;
+ foreach ($groups as $group) {
+ $frm['groups'][] = $group['group_name'];
}
foreach ($fields as $field_index => $field_name) {
$frm['fields'][] = $field_name;