summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2003-09-21 07:02:41 +0000
committerDries Buytaert2003-09-21 07:02:41 +0000
commit21b688dbcd995f883ae2721910745f2f6b6f16cc (patch)
treee9ab62e653849d5edddc50b0ccdf37b39e94e82c
parent5d025a139906400b20e2f45e102f04c11dac0258 (diff)
- Fixed bug 2803: a user's signature was being erased when administered.
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 1fde5f3..03cc39d 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -112,7 +112,7 @@ function comment_user($type, $edit, &$user) {
break;
case "edit_form":
// 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":
// validate user data editing
return array("signature" => $edit["signature"]);