Make sure owner gets included in fields to be converted to human-friendly formats

This commit is contained in:
Nathan Gray 2010-11-09 19:05:40 +00:00
parent 47ff785588
commit 7394f39167

View File

@ -31,12 +31,12 @@ class calendar_export_csv implements importexport_iface_export_plugin {
'enum_recuring' => false,
'daywise' => false,
'owner' => $options['owner'],
'date_format' => $options['date_format'],
));
$export_object = new importexport_export_csv($_stream, (array)$options);
$export_object->set_mapping($options['mapping']);
$convert_fields = importexport_export_csv::$types;
$convert_fields['select-account'][] = 'owner';
$convert_fields['date-time'][] = 'start';
$convert_fields['date-time'][] = 'end';