diff --git a/resources/views/pages/list-activities.blade.php b/resources/views/pages/list-activities.blade.php index 6d3bc91..47cc422 100644 --- a/resources/views/pages/list-activities.blade.php +++ b/resources/views/pages/list-activities.blade.php @@ -59,8 +59,8 @@ class="right" @foreach (data_get($changes, 'attributes', []) as $field => $change) @php - $oldValue = data_get($changes, "old.{$field}"); - $newValue = data_get($changes, "attributes.{$field}"); + $oldValue = isset($changes['old'][$field]) ? $changes['old'][$field] : ''; + $newValue = isset($changes['attributes'][$field]) ? $changes['attributes'][$field] : ''; @endphp $loop->even])>