Merge branch 'MOODLE_main_MDL-82518' of https://github.com/danielneis/moodle
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ function user_update_user($user, $updatepassword = true, $triggerevent = true) {
|
||||
if (!property_exists($currentrecord, $attributekey) || $attributekey === 'timemodified') {
|
||||
continue;
|
||||
}
|
||||
if ($currentrecord->{$attributekey} != $attributevalue) {
|
||||
if ($currentrecord->{$attributekey} !== $attributevalue) {
|
||||
$changedattributes[$attributekey] = $attributevalue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user