Fix import mapping #5229
This commit is contained in:
parent
085fa6902b
commit
a1c7632a50
@ -617,6 +617,10 @@ if ($step == 4 && $datatoimport)
|
|||||||
$obj->separator = $separator;
|
$obj->separator = $separator;
|
||||||
$obj->enclosure = $enclosure;
|
$obj->enclosure = $enclosure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!empty(GETPOST('update'))) {
|
||||||
|
$array_match_file_to_database=array();
|
||||||
|
}
|
||||||
|
|
||||||
// Load source fields in input file
|
// Load source fields in input file
|
||||||
$fieldssource=array();
|
$fieldssource=array();
|
||||||
@ -738,7 +742,7 @@ if ($step == 4 && $datatoimport)
|
|||||||
print '<input type="text" size="1" name="separator" value="'.htmlentities($separator).'"/>';
|
print '<input type="text" size="1" name="separator" value="'.htmlentities($separator).'"/>';
|
||||||
print ' '.$langs->trans("Enclosure").' : ';
|
print ' '.$langs->trans("Enclosure").' : ';
|
||||||
print '<input type="text" size="1" name="enclosure" value="'.htmlentities($enclosure).'"/>';
|
print '<input type="text" size="1" name="enclosure" value="'.htmlentities($enclosure).'"/>';
|
||||||
print '<input type="submit" value="'.$langs->trans('Update').'" class="button" />';
|
print '<input name="update" type="submit" value="'.$langs->trans('Update').'" class="button" />';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user