Skip to content

Commit 96ce715

Browse files
committed
Prevent matchmaking profile detail crash when support activities are null.
Cast support_activities safely for meta description generation so profiles without activity data still render. Made-with: Cursor
1 parent 66eb39f commit 96ce715

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/matchmaking-tool/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@endphp
1515

1616
@section('title', $profileName)
17-
@section('description', implode(', ', $profile->support_activities))
17+
@section('description', implode(', ', (array) ($profile->support_activities ?? [])))
1818

1919
@section('layout.breadcrumb')
2020
@include('layout.breadcrumb', ['list' => $list])

0 commit comments

Comments
 (0)