From 767e6e456ae1e5cd74cc254eb405955f7dfdc889 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 19 Feb 2007 23:31:58 +0000 Subject: [PATCH] Moodle 1.9 doesn't know about $CFG->excelisofiles, only about $CFG->latinexcelexport, the recommended way since 1.6. MDL-7993 --- lib/excellib.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/excellib.class.php b/lib/excellib.class.php index 9984933c34..18aec734e3 100644 --- a/lib/excellib.class.php +++ b/lib/excellib.class.php @@ -51,7 +51,7 @@ class MoodleExcelWorkbook { /// Internally, create one PEAR Spreadsheet_Excel_Writer_Workbook class $this->pear_excel_workbook = new Spreadsheet_Excel_Writer($filename); /// Prepare it to accept UTF-16LE data and to encode it properly - if (empty($CFG->excelisofiles) && empty($CFG->latinexcelexport)) { /// Only if don't want to use latin (win1252) stronger output + if (empty($CFG->latinexcelexport)) { /// Only if don't want to use latin (win1252) stronger output $this->pear_excel_workbook->setVersion(8); $this->latin_output = false; } else { /// We want latin (win1252) output -- 2.39.5