From 0a08f3c6e30ceb99c9a481fc94c55de5c569f3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr> Date: Wed, 23 Apr 2014 17:13:30 +0200 Subject: [PATCH] Qual: Missing global declaration --- htdocs/core/modules/export/export_excel.modules.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/core/modules/export/export_excel.modules.php b/htdocs/core/modules/export/export_excel.modules.php index 5a3f333577c..35f701d3860 100644 --- a/htdocs/core/modules/export/export_excel.modules.php +++ b/htdocs/core/modules/export/export_excel.modules.php @@ -228,6 +228,8 @@ class ExportExcel extends ModeleExports */ function write_title($array_export_fields_label,$array_selected_sorted,$outputlangs,$array_types) { + global $conf; + // Create a format for the column headings if (! empty($conf->global->MAIN_USE_PHP_WRITEEXCEL)) { @@ -281,6 +283,8 @@ class ExportExcel extends ModeleExports */ function write_record($array_selected_sorted,$objp,$outputlangs,$array_types) { + global $conf; + // Create a format for the column headings if (! empty($conf->global->MAIN_USE_PHP_WRITEEXCEL)) { @@ -398,6 +402,8 @@ class ExportExcel extends ModeleExports */ function close_file() { + global $conf; + if (! empty($conf->global->MAIN_USE_PHP_WRITEEXCEL)) { $this->workbook->close(); -- GitLab