summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-05-01 08:59:08 +0000
committerDries Buytaert <dries@buytaert.net>2004-05-01 08:59:08 +0000
commitbfd184321b3d1eef2c0a6484223d8ae90564e2a3 (patch)
tree8a833df63a9339f4180bbd941076fec1ebedf1f2
parent0a74e0b32007406e870e4e92a371221e4bb1b942 (diff)
downloadbrdo-bfd184321b3d1eef2c0a6484223d8ae90564e2a3.tar.gz
brdo-bfd184321b3d1eef2c0a6484223d8ae90564e2a3.tar.bz2
- Patch #7482 by Gerhard: double 'edit' in comment_user(). One 'edit' had to be 'validate'.
-rw-r--r--modules/comment.module4
-rw-r--r--modules/comment/comment.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 08afd3c18..daa14b9e5 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -138,10 +138,10 @@ function comment_settings() {
function comment_user($type, $edit, &$user) {
switch ($type) {
- case "edit":
+ case 'edit':
// when user tries to edit his own data
return array(t('Personal information') => form_textarea(t("Signature"), "signature", $user->signature, 64, 3, t("Your signature will be publicly displayed at the end of your comments.") ."<br />". filter_tips_short()));
- case "edit":
+ case 'validate':
// validate user data editing
return array("signature" => $edit["signature"]);
}
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 08afd3c18..daa14b9e5 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -138,10 +138,10 @@ function comment_settings() {
function comment_user($type, $edit, &$user) {
switch ($type) {
- case "edit":
+ case 'edit':
// when user tries to edit his own data
return array(t('Personal information') => form_textarea(t("Signature"), "signature", $user->signature, 64, 3, t("Your signature will be publicly displayed at the end of your comments.") ."<br />". filter_tips_short()));
- case "edit":
+ case 'validate':
// validate user data editing
return array("signature" => $edit["signature"]);
}