diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-27 23:05:57 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-27 23:05:57 -0800 |
commit | bbe70119ef99e77a57dbc5354bc348c7adaece46 (patch) | |
tree | da6aa57684b5504bd7a2937491a7d397fbdd7202 /modules/comment/helpers/comment.php | |
parent | 31e4c217194f8d938c8a6963449d42007663f473 (diff) |
Localize validation messages.
Diffstat (limited to 'modules/comment/helpers/comment.php')
-rw-r--r-- | modules/comment/helpers/comment.php | 3 |
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; } |