mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 17:29:18 -04:00
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.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user