Fixed use of array unpacking syntax

Since it was using keyed arrays, unpacking is only supported in php8.1+
This commit is contained in:
Dan Brown 2022-11-03 14:33:23 +00:00
parent 6364c541ea
commit 37afd35b6f
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -66,7 +66,7 @@
<div class="flex-container-row justify-space-between items-center wrap">
<div class="flex-2 min-width-xl">{{ $activities->links() }}</div>
<div class="flex-none min-width-m py-m">
@include('common.sort', [...$listOptions->getSortControlData(), 'useQuery' => true])
@include('common.sort', array_merge($listOptions->getSortControlData(), ['useQuery' => true]))
</div>
</div>