diff --git a/src/Models/Setting.php b/src/Models/Setting.php index c81e63576..086ee1be6 100644 --- a/src/Models/Setting.php +++ b/src/Models/Setting.php @@ -21,6 +21,15 @@ class Setting extends Model */ protected $fillable = ['name', 'value']; + /** + * List of attributes that have default values. + * + * @var array + */ + protected $attributes = [ + 'value' => '', + ]; + /** * Returns a setting from the database. *