From a7ad48a02a35b618b782840f72572a502a0bcb5b Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 27 Sep 2017 22:11:20 -0700 Subject: [PATCH] Make fields nullable for licenses --- app/Models/License.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Models/License.php b/app/Models/License.php index 91a150198d..7258dae6df 100755 --- a/app/Models/License.php +++ b/app/Models/License.php @@ -31,10 +31,10 @@ class License extends Depreciable protected $rules = array( 'name' => 'required|string|min:3|max:255', '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', + 'license_email' => 'email|nullable|max:120', + 'license_name' => 'string|nullable|max:100', + 'note' => 'string|nullable', + 'notes' => 'string|nullable', 'company_id' => 'integer|nullable', );