mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-82518 core_user: Fix regression introduced by MDL-80271
This commit is contained in:
parent
8a6e8563fd
commit
4b7f1cd22e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user