From 17c8e14753953dc3277d28e8e336f0b15201031d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 7 Jan 2009 08:18:15 +0000 Subject: 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. --- modules/comment/models/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/models') 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"); } -- cgit v1.2.3