Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check OwnsTeam for null teams #774

Merged
merged 4 commits into from
Apr 28, 2021
Merged

Check OwnsTeam for null teams #774

merged 4 commits into from
Apr 28, 2021

Conversation

cholladay0816
Copy link
Contributor

Fixes an error for null teams by adding a check to see if the team passed is null, and returns false instead of throwing an exception.

Does a check to see if the team passed is null, and returns false instead of throwing an exception.
@cholladay0816 cholladay0816 changed the title Check HasTeams for null teams Check OwnsTeam for null teams Apr 27, 2021
@taylorotwell taylorotwell merged commit 2105267 into laravel:2.x Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants