MDL-18265 fixed regressions by hardfreeze security workaround - defaults were overriding locked values
This commit is contained in:
+5
-4
@@ -97,11 +97,12 @@ class user_edit_form extends moodleform {
|
||||
}
|
||||
}
|
||||
|
||||
/// Next the customisable profile fields
|
||||
profile_definition_after_data($mform, $user->id);
|
||||
|
||||
} else {
|
||||
profile_definition_after_data($mform, 0);
|
||||
}
|
||||
|
||||
/// Next the customisable profile fields
|
||||
profile_definition_after_data($mform);
|
||||
|
||||
}
|
||||
|
||||
function validation($usernew, $files) {
|
||||
|
||||
Reference in New Issue
Block a user