From 497e25d8f494e2384f094cc9cd2c4c1940809a8a Mon Sep 17 00:00:00 2001 From: Andreas Grabs Date: Wed, 11 Feb 2015 09:44:33 +0100 Subject: [PATCH] MDL-49169 user - After MDL-48978-Fix description is not saved anymore --- user/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/edit.php b/user/edit.php index 7d4ae94c5f5..13e19d2a952 100644 --- a/user/edit.php +++ b/user/edit.php @@ -209,7 +209,7 @@ if ($usernew = $userform->get_data()) { $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); }