MDL-82518 core_user: Fix regression introduced by MDL-80271
This commit is contained in:
+1
-1
@@ -224,7 +224,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