From e97f6c64a02cc56af2a5d152028436f2716c2497 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Thu, 5 Mar 2020 03:34:38 +0800 Subject: [PATCH] fix --- app/Http/Controllers/Admin/PlanController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/Admin/PlanController.php b/app/Http/Controllers/Admin/PlanController.php index c3cac2a4..20dc594f 100755 --- a/app/Http/Controllers/Admin/PlanController.php +++ b/app/Http/Controllers/Admin/PlanController.php @@ -30,7 +30,6 @@ class PlanController extends Controller } DB::beginTransaction(); if (!User::where('plan_id', $plan->id) - ->get() ->update(['group_id' => $plan->group_id]) ) { DB::rollBack();