Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user