From 0ec87105826e0353ca559596d0b6414341ae1853 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 26 Oct 2009 07:13:24 +0000 Subject: [PATCH] Fix: field lost after selected country --- htdocs/admin/company.php | 8 ++++---- htdocs/imports/import.php | 2 +- htdocs/includes/modules/import/import_csv.modules.php | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 97d46a191f1..1932c3114d3 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -221,19 +221,19 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') $var=!$var; print ''.$langs->trans("CompanyName").''; - print ''."\n"; + print ''."\n"; $var=!$var; print ''.$langs->trans("CompanyAddress").''; - print ''."\n"; + print ''."\n"; $var=!$var; print ''.$langs->trans("CompanyZip").''; - print ''."\n"; + print ''."\n"; $var=!$var; print ''.$langs->trans("CompanyTown").''; - print ''."\n"; + print ''."\n"; $var=!$var; print ''.$langs->trans("Country").''; diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php index 0497875631d..2e768f60526 100644 --- a/htdocs/imports/import.php +++ b/htdocs/imports/import.php @@ -1,6 +1,6 @@ - * Copyright (C) 2005-2007 Regis Houssin + * Copyright (C) 2005-2009 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/htdocs/includes/modules/import/import_csv.modules.php b/htdocs/includes/modules/import/import_csv.modules.php index 5e1a894b899..6b52d62522f 100644 --- a/htdocs/includes/modules/import/import_csv.modules.php +++ b/htdocs/includes/modules/import/import_csv.modules.php @@ -1,5 +1,6 @@ + * Copyright (C) 2009 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -60,7 +61,7 @@ class ImportCsv extends ModeleImports $this->db = $db; $this->separator=','; - if (! empty($conf->global->EXPORT_CSV_SEPARATOR_TO_USE)) $this->separator=$conf->global->EXPORT_CSV_SEPARATOR_TO_USE; + if (! empty($conf->global->IMPORT_CSV_SEPARATOR_TO_USE)) $this->separator=$conf->global->IMPORT_CSV_SEPARATOR_TO_USE; $this->enclosure='"'; $this->escape='"';