Skip to content

Commit

Permalink
MDL-49169 user - After MDL-48978-Fix description is not saved anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
grabs committed Feb 12, 2015
1 parent 7357af2 commit 3d944c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
$usernew->timemodified = time();

// Description editor element may not exist!
if (isset($usernew->description_editor) && isset($usernew->description_format)) {
if (isset($usernew->description_editor) && isset($usernew->description_editor['format'])) {
$usernew = file_postupdate_standard_editor($usernew, 'description', $editoroptions, $personalcontext, 'user', 'profile', 0);
}

Expand Down

0 comments on commit 3d944c8

Please sign in to comment.