]> git.mjollnir.org Git - moodle.git/commitdiff
Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE
authorstronk7 <stronk7>
Wed, 2 Jan 2008 16:49:11 +0000 (16:49 +0000)
committerstronk7 <stronk7>
Wed, 2 Jan 2008 16:49:11 +0000 (16:49 +0000)
lib/xmldb/classes/XMLDBField.class.php

index 309d5c7d3d6abdddb712ff4f5574148c9d1397bb..0ffca5588a3dac59c91521bebee39b104218daab 100644 (file)
@@ -370,7 +370,7 @@ class XMLDBField extends XMLDBObject {
         }
 
         if (isset($xmlarr['@']['ENUMVALUES'])) {
-            $enumvalues = strtolower(trim($xmlarr['@']['ENUMVALUES']));
+            $enumvalues = trim($xmlarr['@']['ENUMVALUES']);
             if (!$this->enum) {
                 $this->errormsg = 'Wrong ENUMVALUES attribute (not ENUM)';
                 $this->debug($this->errormsg);