diff options
-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"]); |