Skip to content

Commit

Permalink
Merge pull request #105 from dbpolito/patch-1
Browse files Browse the repository at this point in the history
Fix message view to use collection
  • Loading branch information
JeffreyWay authored Jun 22, 2017
2 parents ffda9f2 + 67b9d2c commit 10cd420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/message.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@foreach ((array) session('flash_notification') as $message)
@foreach (session('flash_notification', collect())->toArray() as $message)
@if ($message['overlay'])
@include('flash::modal', [
'modalClass' => 'flash-modal',
Expand Down

0 comments on commit 10cd420

Please sign in to comment.