From f75eca90f49867049a8b78b13c2c91d8c957c435 Mon Sep 17 00:00:00 2001 From: denghy Date: Mon, 8 Apr 2019 10:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Domains/Export/Services/ExportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,