Skip to content
Snippets Groups Projects
Commit 21b688db authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed bug 2803: a user's signature was being erased when administered.
parent 5d025a13
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ function comment_user($type, $edit, &$user) { ...@@ -112,7 +112,7 @@ function comment_user($type, $edit, &$user) {
break; break;
case "edit_form": case "edit_form":
// when user tries to edit his own data // when user tries to edit his own data
return form_textarea(t("Signature"), "signature", $edit["signature"], 70, 3, t("Your signature will be publicly displayed at the end of your comments.") ."<br />". form_allowed_tags_text()); return form_textarea(t("Signature"), "signature", $user->signature, 70, 3, t("Your signature will be publicly displayed at the end of your comments.") ."<br />". form_allowed_tags_text());
case "edit_validate": case "edit_validate":
// validate user data editing // validate user data editing
return array("signature" => $edit["signature"]); return array("signature" => $edit["signature"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment