mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
limit max title length to 80 characters
This commit is contained in:
parent
c9bac2ed03
commit
4af20f8101
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user