diff --git a/app/Http/Controllers/Admin/PlanController.php b/app/Http/Controllers/Admin/PlanController.php index 5914028e..dd8c816b 100755 --- a/app/Http/Controllers/Admin/PlanController.php +++ b/app/Http/Controllers/Admin/PlanController.php @@ -52,8 +52,8 @@ class PlanController extends Controller // update user group id and transfer try { User::where('plan_id', $plan->id)->update([ - 'group_id' => $plan->group_id, - 'transfer_enable' => $plan->transfer_enable * 1073741824 + 'group_id' => $params['group_id'], + 'transfer_enable' => $params['transfer_enable'] * 1073741824 ]); $plan->update($params); } catch (\Exception $e) {