diff --git a/app/Domains/Export/Services/ExportService.php b/app/Domains/Export/Services/ExportService.php index 0e907dfa..1f42711a 100644 --- a/app/Domains/Export/Services/ExportService.php +++ b/app/Domains/Export/Services/ExportService.php @@ -50,7 +50,7 @@ class ExportService extends Service $url = $item->status === 3 ? Storage::disk($item->disk)->url($item->filename) : ''; - $conditions = json_encode(array_except($item->conditions, ['page', 'limit', 'orderBy', 'sortedBy']), 256); + $conditions = json_encode(array_except($item->conditions ?? [], ['page', 'limit', 'orderBy', 'sortedBy']), 256); return [ 'id' => $item->id,