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', );