Skip to content

Commit

Permalink
Merge pull request #65 from beratkara/master
Browse files Browse the repository at this point in the history
the line I forgot was deleted
  • Loading branch information
mkwsra authored Feb 18, 2022
2 parents fcc70ae + e00550f commit 08f9f66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Traits/Friendable.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ private function findFriendships($status = null, string $groupSlug = '', string
$query->where(function ($q) {$q->whereRecipient($this);});
break;
}
$query->where(function ($q) {$q->whereSender($this);})->orWhere(function ($q) {$q->whereRecipient($this);});
})->whereGroup($this, $groupSlug);

//if $status is passed, add where clause
Expand Down

0 comments on commit 08f9f66

Please sign in to comment.