Merge branch 'w26_MDL-27375_m22_enrolcase' of git://github.com/skodak/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2011-07-07 01:39:38 +02:00
+1
View File
@@ -111,6 +111,7 @@ class enrol_database_plugin extends enrol_plugin {
if ($rs = $extdb->Execute($sql)) {
if (!$rs->EOF) {
while ($fields = $rs->FetchRow()) {
$fields = array_change_key_case($fields, CASE_LOWER);
$fields = $this->db_decode($fields);
if (empty($fields[$coursefield])) {