Skip to content

A free open source IT asset/license management system

Fixed #5084 - min supplier name now 1

snipee49a36c9fdd5
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',