Explorar o código

Update ModLog model, add fillable attribute

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
c7ccb26ffc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/ModLog.php

+ 2 - 0
app/ModLog.php

@@ -8,6 +8,8 @@ class ModLog extends Model
 {
 	protected $visible = ['id'];
 
+	protected $fillable = ['*'];
+
 	public function admin()
 	{
 		return $this->belongsTo(User::class, 'user_id');