Fixes minimum length in add article backend

This commit is contained in:
Maxi Redigonda 2018-01-18 20:24:44 -03:00
parent f0e1afc1ac
commit 39fd45dced
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class AddArticleController extends Controller {
'permission' => 'staff_2',
'requestData' => [
'title' => [
'validation' => DataValidator::length(3, 100),
'validation' => DataValidator::length(1, 100),
'error' => ERRORS::INVALID_NAME
],
'content' => [
@ -71,4 +71,4 @@ class AddArticleController extends Controller {
'articleId' => $article->store()
]);
}
}
}