summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-27 23:05:57 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-27 23:05:57 -0800
commitbbe70119ef99e77a57dbc5354bc348c7adaece46 (patch)
treeda6aa57684b5504bd7a2937491a7d397fbdd7202 /modules/comment/helpers
parent31e4c217194f8d938c8a6963449d42007663f473 (diff)
Localize validation messages.
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r--modules/comment/helpers/comment.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php
index c9c20879..f710ad92 100644
--- a/modules/comment/helpers/comment.php
+++ b/modules/comment/helpers/comment.php
@@ -50,10 +50,7 @@ class comment_Core {
$group->inputs["name"]->value($active->full_name)->disabled("disabled");
$group->email->value($active->email)->disabled("disabled");
$group->url->value($active->url)->disabled("disabled");
- } else {
- $group->inputs["name"]->error_messages("missing", t("You must provide a name"));
}
- $group->text->error_messages("missing", t("You must provide a comment"));
return $form;
}