MDL-48978 user: fixed regression from MDL-37704
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
1ffc405936
commit
3db52fd27f
+1
-1
@@ -209,7 +209,7 @@ if ($usernew = $userform->get_data()) {
|
||||
$usernew->timemodified = time();
|
||||
|
||||
// Description editor element may not exist!
|
||||
if (isset($usernew->description_editor)) {
|
||||
if (isset($usernew->description_editor) && isset($usernew->description_format)) {
|
||||
$usernew = file_postupdate_standard_editor($usernew, 'description', $editoroptions, $personalcontext, 'user', 'profile', 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user