Skip to content
Snippets Groups Projects
Commit fcc26f36 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix default first line to import is 1

parent f762196c
Branches
Tags
No related merge requests found
...@@ -75,7 +75,7 @@ $step = (GETPOST('step') ? GETPOST('step') : 1); ...@@ -75,7 +75,7 @@ $step = (GETPOST('step') ? GETPOST('step') : 1);
$import_name = GETPOST('import_name'); $import_name = GETPOST('import_name');
$hexa = GETPOST('hexa'); $hexa = GETPOST('hexa');
$importmodelid = GETPOST('importmodelid'); $importmodelid = GETPOST('importmodelid');
$excludefirstline = (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 0); $excludefirstline = (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 1);
$endatlinenb = (GETPOST('endatlinenb') ? GETPOST('endatlinenb') : ''); $endatlinenb = (GETPOST('endatlinenb') ? GETPOST('endatlinenb') : '');
$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') : '"');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment