From d5cadeab1aa0f6425dfc22ee9c88c6fd563cc36d Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 22 Aug 2017 14:30:39 -0700 Subject: [PATCH] Fixes #3854 - more fillable fields for supplier API --- app/Models/Supplier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Supplier.php b/app/Models/Supplier.php index 80c35c2eca..4e48acd359 100755 --- a/app/Models/Supplier.php +++ b/app/Models/Supplier.php @@ -45,7 +45,7 @@ class Supplier extends SnipeModel * * @var array */ - protected $fillable = ['name']; + protected $fillable = ['name','address','address2','city','state','country','zip','phone','fax','email','contact','url','notes']; // Eager load counts.