Make sticked messages work on PHP7.3

compact changed behaviour on PHP7.3, and I also can't see the need for it as date and incidents are still passed to the view.
This resolves #3515
This commit is contained in:
Danijel K
2019-03-21 14:08:23 +01:00
committed by GitHub
parent 3b9ee670a2
commit 5d904f1ea5

View File

@@ -2,7 +2,7 @@
<div class="section-stickied">
<h1>{{ trans('cachet.incidents.stickied') }}</h1>
@foreach($stickiedIncidents as $date => $incidents)
@include('partials.incidents', [compact($date), compact($incidents)])
@include('partials.incidents')
@endforeach
</div>
@endif