Index: auth.php =================================================================== RCS file: /cvsroot/moodle/moodle/auth/db/auth.php,v retrieving revision 1.21.2.3 diff -u -r1.21.2.3 auth.php --- auth.php 25 Apr 2008 13:20:28 -0000 1.21.2.3 +++ auth.php 3 Jul 2008 22:06:58 -0000 @@ -176,6 +176,7 @@ if ($rs = $authdb->Execute($sql)) { if ( !$rs->EOF ) { $fields_obj = rs_fetch_record($rs); + $fields_obj = (object)array_change_key_case((array)$fields_obj , CASE_LOWER); foreach ($selectfields as $localname=>$externalname) { $result[$localname] = $textlib->convert($fields_obj->{$localname}, $this->config->extencoding, 'utf-8'); }