From a510ac405292a35f0c3119fae4aeb34d0949fd88 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 29 Mar 2018 04:36:18 -0700 Subject: [PATCH] Fixed #5272 - make city min length 2 instead of 3 --- app/Models/Location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Location.php b/app/Models/Location.php index ce6d06906e..2da77b7ff5 100755 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -20,7 +20,7 @@ class Location extends SnipeModel protected $table = 'locations'; protected $rules = array( 'name' => 'required|min:2|max:255|unique_undeleted', - 'city' => 'min:3|max:255|nullable', + 'city' => 'min:2|max:255|nullable', 'country' => 'min:2|max:2|nullable', 'address' => 'max:80|nullable', 'address2' => 'max:80|nullable',