From 7907f455cef3eba3bdfaadc8f06a063c18e81d7d Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Sat, 15 Oct 2022 13:32:14 +0800 Subject: [PATCH] update: fix config char type --- app/Http/Controllers/User/CommController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/User/CommController.php b/app/Http/Controllers/User/CommController.php index 31584424..49a44ca0 100644 --- a/app/Http/Controllers/User/CommController.php +++ b/app/Http/Controllers/User/CommController.php @@ -20,7 +20,7 @@ class CommController extends Controller 'withdraw_close' => (int)config('v2board.withdraw_close_enable', 0), 'currency' => config('v2board.currency', 'CNY'), 'currency_symbol' => config('v2board.currency_symbol', '¥'), - 'commission_distribution_enable' => config('v2board.commission_distribution_enable', 0), + 'commission_distribution_enable' => (int)config('v2board.commission_distribution_enable', 0), 'commission_distribution_l1' => config('v2board.commission_distribution_l1'), 'commission_distribution_l2' => config('v2board.commission_distribution_l2'), 'commission_distribution_l3' => config('v2board.commission_distribution_l3')