From 6573f3f28d8052c7d9444d802febf3c709ec5442 Mon Sep 17 00:00:00 2001 From: denghy Date: Mon, 20 May 2019 09:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E9=99=A4=E5=85=A8=E9=83=A8=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E7=9A=84=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Domains/Export/Services/ImportService.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Domains/Export/Services/ImportService.php b/app/Domains/Export/Services/ImportService.php index 049b213b..e8647672 100644 --- a/app/Domains/Export/Services/ImportService.php +++ b/app/Domains/Export/Services/ImportService.php @@ -33,11 +33,9 @@ class ImportService extends Service $title = $item; } else { $row = []; + $emptyRow = true; foreach ($item as $key => $value) { - $emptyRow = true; - $column = strtolower($title[$key]); - if ($columns === null || in_array($column, $columns)) { $row[$column] = trim($value);