From fcc26f36bae08b564f4d67bbd182690b13d100b5 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sat, 20 Feb 2016 02:45:31 +0100
Subject: [PATCH] Fix default first line to import is 1

---
 htdocs/imports/import.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php
index d4d78ae3535..76a3f5a2555 100644
--- a/htdocs/imports/import.php
+++ b/htdocs/imports/import.php
@@ -75,7 +75,7 @@ $step				= (GETPOST('step') ? GETPOST('step') : 1);
 $import_name		= GETPOST('import_name');
 $hexa				= GETPOST('hexa');
 $importmodelid		= GETPOST('importmodelid');
-$excludefirstline	= (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 0);
+$excludefirstline	= (GETPOST('excludefirstline') ? GETPOST('excludefirstline') : 1);
 $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:','));
 $enclosure			= (GETPOST('enclosure') ? GETPOST('enclosure') : '"');
-- 
GitLab