<li class="news-item">
<table cellpadding="4">
<tr>
    <td>
        @if ($notification['body']['name'] == 'user.booked')
            <span class="label label-warning">{!! Icon::calendar() !!}</span>
        @endif
        @if ($notification['body']['name'] == 'appointment.cancel')
            <span class="label label-danger">{!! Icon::calendar() !!}</span>
        @endif
        @if ($notification['body']['name'] == 'appointment.confirm')
            <span class="label label-success">{!! Icon::calendar() !!}</span>
        @endif
        @if ($notification['body']['name'] == 'appointment.serve')
            <span class="label label-info">{!! Icon::calendar() !!}</span>
        @endif
    </td>
    <td>
        @if ($notification['extra'])
            {{trans('notifications.'.$notification['body']['name'], ['user' => $notification['from']['name']] + json_decode($notification['extra'], true)) }}
        @else
            {{trans('notifications.'.$notification['body']['name'], ['user' => $notification['from']['name']]) }}
        @endif
        &nbsp;<small class="text-muted" title="{{$timestamp->toDateTimeString()}}">{{$timestamp->diffForHumans() }}</small>
    </td>
</tr>
</table>
</li>
<li class="news-item">
<table cellpadding="4">
<tr>
    <td>
        @if ($notification['body']['name'] == 'user.booked')
            <span class="label label-warning">{!! Icon::calendar() !!}</span>
        @endif
        @if ($notification['body']['name'] == 'appointment.cancel')
            <span class="label label-danger">{!! Icon::calendar() !!}</span>
        @endif
        @if ($notification['body']['name'] == 'appointment.confirm')
            <span class="label label-success">{!! Icon::calendar() !!}</span>
        @endif
        @if ($notification['body']['name'] == 'appointment.serve')
            <span class="label label-info">{!! Icon::calendar() !!}</span>
        @endif
    </td>
    <td>
        @if ($notification['extra'])
            {{trans('notifications.'.$notification['body']['name'], ['user' => $notification['from']['name']] + $notification['extra']) }}
        @else
            {{trans('notifications.'.$notification['body']['name'], ['user' => $notification['from']['name']]) }}
        @endif
        &nbsp;<small class="text-muted" title="{{$timestamp->toDateTimeString()}}">{{$timestamp->diffForHumans() }}</small>
    </td>
</tr>
</table>
</li>
Fix exception json_decode() expects parameter 1 to be string, array given
Fix exception json_decode() expects parameter 1 to be string, array given

Since Notifynder fixes Extra array is empty if you call toArray,
no longer json_decode is required.

https://github.com/fenos/Notifynder/issues/126
