diff --git a/server/controllers/article/add.php b/server/controllers/article/add.php index c37b824f..ccd697a9 100755 --- a/server/controllers/article/add.php +++ b/server/controllers/article/add.php @@ -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() ]); } -} \ No newline at end of file +}