Hi.
Mine looks the same I think. The first line is 2303.
However I just noticed there is an extra space between 'compatible function' (second line) in my version (also on your copy paste also I think). I removed this and I can login now, so this must be the problem.
How could this have occurred though, I didn't edit this file previously?
========================
function moodle_strtolower ($string, $encoding='') {
/// Converts string to lowercase using most compatible function available
if (function_exists('mb_strtolower')) {
if($encoding===''){
return mb_strtolower($string); //use multibyte support with default encoding
} else {
return mb_strtolower($string,$encoding); //use given encoding
}
} else {
return strtolower($string); // use common function what rely on current locale setting
}
}
Thanks
Chris