diff --git a/htdocs/core/modules/export/export_excel.modules.php b/htdocs/core/modules/export/export_excel.modules.php index e5281150296..734b38f601a 100644 --- a/htdocs/core/modules/export/export_excel.modules.php +++ b/htdocs/core/modules/export/export_excel.modules.php @@ -190,7 +190,7 @@ class ExportExcel extends ModeleExports return -1; } } - + if (!empty($conf->global->MAIN_USE_FILECACHE_EXPORT_EXCEL_DIR)) { $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_discISAM; $cacheSettings = array ( @@ -426,7 +426,7 @@ class ExportExcel extends ModeleExports $this->workbook->disconnectWorksheets(); unset($this->workbook); } - return 0; + return 1; } diff --git a/htdocs/core/modules/export/export_excel2007.modules.php b/htdocs/core/modules/export/export_excel2007.modules.php index bf70c30ab1c..4f37a2e323e 100644 --- a/htdocs/core/modules/export/export_excel2007.modules.php +++ b/htdocs/core/modules/export/export_excel2007.modules.php @@ -95,7 +95,7 @@ class ExportExcel2007 extends ExportExcel $this->workbook->disconnectWorksheets(); unset($this->workbook); } - return 0; + return 1; } } diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index 4b565069b5c..c1b0262fd40 100644 --- a/htdocs/exports/export.php +++ b/htdocs/exports/export.php @@ -992,7 +992,7 @@ if ($step == 4 && $datatoexport) if ($step == 5 && $datatoexport) { - asort($array_selected); + asort($array_selected); llxHeader('',$langs->trans("NewExport"),'EN:Module_Exports_En|FR:Module_Exports|ES:Módulo_Exportaciones'); @@ -1142,6 +1142,7 @@ if ($step == 5 && $datatoexport) print '