From e49a36c9fdd5a761cc7975db716386d1d8234bd3 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 22 Feb 2018 16:37:05 -0800 Subject: [PATCH] Fixed #5084 - min supplier name now 1 --- 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 aae2047df9..4939a3d7c5 100755 --- a/app/Models/Supplier.php +++ b/app/Models/Supplier.php @@ -14,7 +14,7 @@ class Supplier extends SnipeModel protected $table = 'suppliers'; protected $rules = array( - 'name' => 'required|min:3|max:255|unique_undeleted', + 'name' => 'required|min:1|max:255|unique_undeleted', 'address' => 'max:50|nullable', 'address2' => 'max:50|nullable', 'city' => 'max:255|nullable',