From 3fcd83b9a735b34f55b723201c23c63ec715be0f Mon Sep 17 00:00:00 2001 From: Edmond Lang Date: Sun, 29 Jun 2025 13:57:47 +0800 Subject: [PATCH] fix php 7.4 issue --- .../Controllers/Exports/ExportCustomersToExcelController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php index 09961cb7..503126fe 100644 --- a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php +++ b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php @@ -154,7 +154,8 @@ class ExportCustomersToExcelController { $exportsTransactions = new ExportsWalletTransactions($request); - switch ($request->get('type')) { + $type = $request->get('type'); + switch ($type) { case 'payment': $exportFileName = 'wallet-payment-transactions.xls'; break;