mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
merged from STABLE.
This commit is contained in:
parent
8b0a14c15d
commit
b1f65701ed
@ -96,7 +96,12 @@
|
||||
$usernew->mailformat = clean_param($usernew->mailformat, PARAM_INT);
|
||||
$usernew->maildigest = clean_param($usernew->maildigest, PARAM_INT);
|
||||
$usernew->autosubscribe = clean_param($usernew->autosubscribe, PARAM_INT);
|
||||
$usernew->htmleditor = clean_param($usernew->htmleditor, PARAM_INT);
|
||||
if (!empty($CFG->htmleditor)) {
|
||||
$usernew->htmleditor = clean_param($usernew->htmleditor, PARAM_INT);
|
||||
}
|
||||
else {
|
||||
unset( $usernew->htmleditor );
|
||||
}
|
||||
$usernew->emailstop = clean_param($usernew->emailstop, PARAM_INT);
|
||||
|
||||
if (isset($usernew->timezone)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user