Fix : GETPOST for update keys in import module
This commit is contained in:
parent
1fc292fa56
commit
e0e7e60048
@ -77,7 +77,7 @@ $hexa = GETPOST('hexa');
|
|||||||
$importmodelid = GETPOST('importmodelid');
|
$importmodelid = GETPOST('importmodelid');
|
||||||
$excludefirstline = (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 1);
|
$excludefirstline = (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 1);
|
||||||
$endatlinenb = (GETPOST('endatlinenb') ? GETPOST('endatlinenb') : '');
|
$endatlinenb = (GETPOST('endatlinenb') ? GETPOST('endatlinenb') : '');
|
||||||
$updatekeys = (GETPOST('updatekeys') ? GETPOST('updatekeys') : array());
|
$updatekeys = (GETPOST('updatekeys', 'array') ? GETPOST('updatekeys', 'array') : array());
|
||||||
$separator = (GETPOST('separator') ? GETPOST('separator') : (! empty($conf->global->IMPORT_CSV_SEPARATOR_TO_USE)?$conf->global->IMPORT_CSV_SEPARATOR_TO_USE:','));
|
$separator = (GETPOST('separator') ? GETPOST('separator') : (! empty($conf->global->IMPORT_CSV_SEPARATOR_TO_USE)?$conf->global->IMPORT_CSV_SEPARATOR_TO_USE:','));
|
||||||
$enclosure = (GETPOST('enclosure') ? GETPOST('enclosure') : '"');
|
$enclosure = (GETPOST('enclosure') ? GETPOST('enclosure') : '"');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user