From 4af20f810144be135e30a1192144f064c2a8cece Mon Sep 17 00:00:00 2001 From: Lorenz Bausch Date: Sat, 29 Aug 2015 11:26:18 +0200 Subject: [PATCH] limit max title length to 80 characters --- framework/core/src/Core/Discussions/Discussion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Core/Discussions/Discussion.php b/framework/core/src/Core/Discussions/Discussion.php index f3984ccea..75e1e5fee 100644 --- a/framework/core/src/Core/Discussions/Discussion.php +++ b/framework/core/src/Core/Discussions/Discussion.php @@ -46,7 +46,7 @@ class Discussion extends Model * @var array */ protected $rules = [ - 'title' => 'required', + 'title' => 'required|max:80', 'start_time' => 'required|date', 'comments_count' => 'integer', 'participants_count' => 'integer',