Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE

This commit is contained in:
stronk7
2008-01-02 16:49:11 +00:00
parent 7c09710cbf
commit 35107f8636
+1 -1
View 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);