diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-21 07:01:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-21 07:01:51 +0000 |
commit | 3025ca0138059bf7c4f0b018d57721dd1950a81b (patch) | |
tree | 76a691e7c1b4889e60201d32251adc43ad911355 | |
parent | 2c5272578d4d362add1cf101f3148ff5e784ae2e (diff) | |
download | brdo-3025ca0138059bf7c4f0b018d57721dd1950a81b.tar.gz brdo-3025ca0138059bf7c4f0b018d57721dd1950a81b.tar.bz2 |
- Fixed bug 2803: a user's signature was being erased when administered.
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module index d45fec719..43060e2a0 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -117,7 +117,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"]); diff --git a/modules/comment/comment.module b/modules/comment/comment.module index d45fec719..43060e2a0 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -117,7 +117,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"]); |