Skip to content

Commit

Permalink
Review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Feb 1, 2022
1 parent 15106ea commit f76d6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/PartyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ public function notifyHostsOfRsvp($user_event, $event_id)
$hosts = null;
}

if (count($hosts)) {
if ($hosts && count($hosts)) {
try {
// Get user information
$user = User::find($user_event->user);
Expand Down

0 comments on commit f76d6fa

Please sign in to comment.