From: stronk7 Date: Wed, 2 Jan 2008 16:49:11 +0000 (+0000) Subject: Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=35107f8636fda6510510bd711f371d0ae80cb882;p=moodle.git Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE --- diff --git a/lib/xmldb/classes/XMLDBField.class.php b/lib/xmldb/classes/XMLDBField.class.php index 309d5c7d3d..0ffca5588a 100644 --- a/lib/xmldb/classes/XMLDBField.class.php +++ b/lib/xmldb/classes/XMLDBField.class.php @@ -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);