From b0b116488172cb634ea8deec868826b544fddbe3 Mon Sep 17 00:00:00 2001 From: Ludovic CANDELLIER Date: Wed, 24 Nov 2021 16:15:56 +0100 Subject: [PATCH] Fix --- app/Models/Core/Comment.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Models/Core/Comment.php b/app/Models/Core/Comment.php index d41226fb..a4046ab1 100644 --- a/app/Models/Core/Comment.php +++ b/app/Models/Core/Comment.php @@ -10,11 +10,7 @@ class Comment extends Model { use HasComments; - protected $fillable = [ - 'comment', - 'user_id', - 'is_approved' - ]; + protected $guarded = []; protected $casts = [ 'is_approved' => 'boolean'