diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-07 08:18:15 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-07 08:18:15 +0000 |
commit | 17c8e14753953dc3277d28e8e336f0b15201031d (patch) | |
tree | eb5bbf30aa14d1e18ddf566959dc0421b93ca567 /modules/comment/models | |
parent | 9460e08da87b9978e3e078e1ebf4c33705e060f3 (diff) |
Properly check comment permissions. Don't show comments that aren't
published. Fix _form_add to take an item id. Oh and email address is
no longer required.
Diffstat (limited to 'modules/comment/models')
-rw-r--r-- | modules/comment/models/comment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/models/comment.php b/modules/comment/models/comment.php index 4c4a8729..323356b4 100644 --- a/modules/comment/models/comment.php +++ b/modules/comment/models/comment.php @@ -20,7 +20,7 @@ class Comment_Model extends ORM { var $rules = array( "author" => "required", - "email" => "required|valid_email", + "email" => "valid_email", "url" => "valid_url", "text" => "required"); } |