Merge branch 'MOODLE_311_STABLE' of git://github.com/cescobedo/moodle into MOODLE_311_STABLE

This commit is contained in:
Eloy Lafuente (stronk7) 2021-09-09 18:04:14 +02:00
commit 89f2984206

View file

@ -1240,7 +1240,6 @@ class auth_plugin_ldap extends auth_plugin_base {
$ldapvalue = '';
}
$ldapvalue = $user_entry[$ldapkey][0];
if (!$ambiguous) {
// Skip update if the values already match
if ($nuvalue !== $ldapvalue) {