]> git.mjollnir.org Git - moodle.git/commitdiff
Moodle 1.9 doesn't know about $CFG->excelisofiles, only about
authorstronk7 <stronk7>
Mon, 19 Feb 2007 23:31:58 +0000 (23:31 +0000)
committerstronk7 <stronk7>
Mon, 19 Feb 2007 23:31:58 +0000 (23:31 +0000)
$CFG->latinexcelexport, the recommended way since 1.6. MDL-7993

lib/excellib.class.php

index 9984933c34aedb762b8f4ed001d127cf54ce1ded..18aec734e34d00e6d101139b16f8ef736f91c0c0 100644 (file)
@@ -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