Commits

Christoffer Niska committed 01a614b

Fixed a bug in the image record.

Comments (0)

Files changed (1)

 	public function rules()
 	{
 		return array(
-			array('name, path, extension, filename, byteSize, mimeType','required'),
+			array('extension, filename, byteSize, mimeType','required'),
 			array('byteSize','numerical','integerOnly'=>true),
 			array('name, path, extension, filename, mimeType, created','length','max'=>255),
 			array('id, name, path, extension, filename, byteSize, mimeType, created','safe','on'=>'search'),