Qual: Missing global declaration

This commit is contained in:
Raphaël Doursenaud 2014-04-23 17:14:11 +02:00
parent 0a08f3c6e3
commit 1757c9d45e

View File

@ -80,6 +80,8 @@ class ExportExcel2007 extends ExportExcel
*/
function close_file()
{
global $conf;
if (! empty($conf->global->MAIN_USE_PHP_WRITEEXCEL))
{
$this->workbook->close();