mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
limit max title length to 80 characters
This commit is contained in:
@@ -46,7 +46,7 @@ class Discussion extends Model
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $rules = [
|
protected $rules = [
|
||||||
'title' => 'required',
|
'title' => 'required|max:80',
|
||||||
'start_time' => 'required|date',
|
'start_time' => 'required|date',
|
||||||
'comments_count' => 'integer',
|
'comments_count' => 'integer',
|
||||||
'participants_count' => 'integer',
|
'participants_count' => 'integer',
|
||||||
|
Reference in New Issue
Block a user