mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-07 15:40:41 -04:00
Make the slug field required for all items.
Make the filename field required for photos/movies. Fixes ticket #838
This commit is contained in:
@@ -24,7 +24,8 @@ class Item_Model extends ORM_MPTT {
|
||||
var $rules = array(
|
||||
"name" => "required|length[0,255]",
|
||||
"title" => "required|length[0,255]",
|
||||
"description" => "length[0,65535]"
|
||||
"description" => "length[0,65535]",
|
||||
"slug" => "required|length[0,255]"
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user