mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-20169 reverting my incorrect patch - sorrry
This commit is contained in:
parent
3f33c9e250
commit
ba33919185
@ -46,7 +46,7 @@ if (!isset($USER->ajax_updatable_user_prefs[$name])) {
|
||||
}
|
||||
|
||||
// Get and the value.
|
||||
$value = required_param('value', PARAM_RAW);
|
||||
$value = required_param('value', $USER->ajax_updatable_user_prefs[$name]);
|
||||
|
||||
// Update
|
||||
if (!set_user_preference($name, $value)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user