From 9cf07c47c73ac5207db941b7e5a00e8a5f109a15 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 26 Nov 2020 13:08:32 -0500 Subject: [PATCH] Fix notifications error for collect() #937 --- resources/views/layouts/default/flash/message.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',