fixed to admin interface categories & stats
This commit is contained in:
parent
8c8da1f795
commit
e64e4bcbc8
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ sub create {
|
|||
my $c = shift;
|
||||
|
||||
my $validation = $c->validation;
|
||||
$validation->required('category', 'trim')->like(qr/^[\w]*$/)->not_in_resultset('name', $c->result_set);
|
||||
$validation->required('category', 'trim')->not_in_resultset('name', $c->result_set);
|
||||
|
||||
my $category_name = $validation->param('category');
|
||||
|
||||
|
|
Reference in a new issue