Skip to content

Commit

Permalink
fix: fix ModuleFamilySummaryViewHelper (#6682)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jun 13, 2023
1 parent 7c45d0d commit 7e77bea
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ private static function getRelations(EloquentCollection $collection, Contact $co
$relatedContact = Contact::find($relation->contact_id);
}

if ($relatedContact === null) {
continue;
}

$relationshipsCollection->push([
'id' => $counter,
'contact' => self::getContact($relatedContact),
Expand Down

0 comments on commit 7e77bea

Please sign in to comment.