1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

limit max title length to 80 characters

This commit is contained in:
Lorenz Bausch
2015-08-29 11:26:18 +02:00
parent ae06b45bc1
commit a4fe6f3ce3

View File

@@ -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',