A free open source IT asset/license management system
Make company ID nullable
snipe30bc3cbe9b38
diff --git a/app/Models/License.php b/app/Models/License.phpindex 886e7c05fd..18e2708233 100755--- a/app/Models/License.php+++ b/app/Models/License.php@@ -23,12 +23,12 @@ class License extends Depreciableprotected $table = 'licenses';protected $rules = array('name' => 'required|string|min:3|max:255',- 'seats' => 'required|min:1|max:10000|integer',+ 'seats' => 'required|min:1|max:1000000|integer','license_email' => 'email|min:0|max:120','license_name' => 'string|min:0|max:100','note' => 'string','notes' => 'string|min:0',- 'company_id' => 'integer',+ 'company_id' => 'integer|nullable',);public function company()