mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 11:11:49 +01:00
Import/export: Fix definition wizard does not always save field mapping
This commit is contained in:
parent
25b95ce18c
commit
183f63a8c0
@ -325,10 +325,11 @@ class importexport_wizard_basic_import_csv
|
||||
foreach($content['csv_fields'] as $index => $title)
|
||||
{
|
||||
$content['mapping'][] = array(
|
||||
'index' => $index,
|
||||
'title' => $title,
|
||||
'field' => $field[$index],
|
||||
'conversion' => $conversion[$index]
|
||||
'index' => $index,
|
||||
'title' => $title,
|
||||
// Make sure the field is not null, or auto-repeat will skip the row
|
||||
'field' => $field[$index] ?: '',
|
||||
'conversion' => $conversion[$index]
|
||||
);
|
||||
if(strstr($title,lang('Extra %1'))) $empties++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user