summaryrefslogtreecommitdiff
path: root/protected/modules/cms/models/Sitecontent.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/modules/cms/models/Sitecontent.php')
-rw-r--r--protected/modules/cms/models/Sitecontent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/protected/modules/cms/models/Sitecontent.php b/protected/modules/cms/models/Sitecontent.php
index a15029f..6d8def2 100644
--- a/protected/modules/cms/models/Sitecontent.php
+++ b/protected/modules/cms/models/Sitecontent.php
@@ -27,11 +27,11 @@ class Sitecontent extends CActiveRecord
public function rules()
{
return array(
- array('id, position, title, language', 'required'),
+ array('position, title, language', 'required'),
array('parent, position, createtime, updatetime', 'numerical', 'integerOnly'=>true),
array('title, keywords, description', 'length', 'max'=>255),
array('content, title_url, title_browser', 'safe'),
- array('id, position, title, keywords, description, content, authorid, createtime, updatetime, language', 'safe', 'on'=>'search'),
+ array('title, keywords, description, content, language', 'safe', 'on'=>'search'),
);
}