From 1757c9d45e566eb85b595843bd65b2adfa7bc398 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr>
Date: Wed, 23 Apr 2014 17:14:11 +0200
Subject: [PATCH] Qual: Missing global declaration

---
 htdocs/core/modules/export/export_excel2007.modules.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/htdocs/core/modules/export/export_excel2007.modules.php b/htdocs/core/modules/export/export_excel2007.modules.php
index 6d9a585e6be..aed29b28c28 100644
--- a/htdocs/core/modules/export/export_excel2007.modules.php
+++ b/htdocs/core/modules/export/export_excel2007.modules.php
@@ -80,6 +80,8 @@ class ExportExcel2007 extends ExportExcel
      */
 	function close_file()
 	{
+		global $conf;
+
 		if (! empty($conf->global->MAIN_USE_PHP_WRITEEXCEL))
     	{
 	        $this->workbook->close();
-- 
GitLab