Fixed #7083 - Removed user_exists constraint on department save
If the user has been deleted, this prevented the department from being successfully saved on edit
This commit is contained in:
parent
2dd31544fe
commit
a014af4c47
1 changed files with 0 additions and 1 deletions
|
@ -26,7 +26,6 @@ class Department extends SnipeModel
|
||||||
|
|
||||||
protected $rules = [
|
protected $rules = [
|
||||||
'name' => 'required|max:255',
|
'name' => 'required|max:255',
|
||||||
'user_id' => 'nullable|exists:users,id',
|
|
||||||
'location_id' => 'numeric|nullable',
|
'location_id' => 'numeric|nullable',
|
||||||
'company_id' => 'numeric|nullable',
|
'company_id' => 'numeric|nullable',
|
||||||
'manager_id' => 'numeric|nullable',
|
'manager_id' => 'numeric|nullable',
|
||||||
|
|
Loading…
Add table
Reference in a new issue