diff --git a/resources/views/layouts/default/flash/message.blade.php b/resources/views/layouts/default/flash/message.blade.php index b165337e..fa805a80 100644 --- a/resources/views/layouts/default/flash/message.blade.php +++ b/resources/views/layouts/default/flash/message.blade.php @@ -1,4 +1,4 @@ -@foreach (session('flash_notification', collect())->toArray() as $message) +@foreach (collect(session('flash_notification', collect()))->toArray() as $message) @if ($message['overlay']) @include('flash::modal', [ 'modalClass' => 'flash-modal',