We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffda9f2 + 67b9d2c commit 10cd420Copy full SHA for 10cd420
1 file changed
src/views/message.blade.php
@@ -1,4 +1,4 @@
1
-@foreach ((array) session('flash_notification') as $message)
+@foreach (session('flash_notification', collect())->toArray() as $message)
2
@if ($message['overlay'])
3
@include('flash::modal', [
4
'modalClass' => 'flash-modal',
0 commit comments