From 4ef6e292d1ddba6340865e1d1c447d218cc50434 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 22 Aug 2017 13:56:51 -0700 Subject: [PATCH] Fixes #3868 - model_number/notes in models API call --- app/Models/AssetModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/AssetModel.php b/app/Models/AssetModel.php index 64f570417d..afc496ffc5 100755 --- a/app/Models/AssetModel.php +++ b/app/Models/AssetModel.php @@ -55,7 +55,7 @@ class AssetModel extends SnipeModel * * @var array */ - protected $fillable = ['name','manufacturer_id','category_id','eol', 'user_id', 'fieldset_id']; + protected $fillable = ['name','manufacturer_id','category_id','eol', 'user_id', 'fieldset_id', 'model_number', 'notes']; public function assets() {