Skip to content

A free open source IT asset/license management system

Bumped max for country on model

snipea70461439750
diff --git a/app/Models/Location.php b/app/Models/Location.php
index dc8aa6a043..1f48f96e77 100755
--- a/app/Models/Location.php
+++ b/app/Models/Location.php
@@ -23,7 +23,7 @@ class Location extends SnipeModel
protected $rules = array(
'name' => 'required|min:2|max:255|unique_undeleted',
'city' => 'min:2|max:255|nullable',
- 'country' => 'min:2|max:2|nullable',
+ 'country' => 'min:2|max:255|nullable',
'address' => 'max:80|nullable',
'address2' => 'max:80|nullable',
'zip' => 'min:3|max:10|nullable',