mirror of
https://github.com/v2board/v2board.git
synced 2025-10-31 01:11:46 +08:00
fix
This commit is contained in:
@@ -30,7 +30,6 @@ class PlanController extends Controller
|
|||||||
}
|
}
|
||||||
DB::beginTransaction();
|
DB::beginTransaction();
|
||||||
if (!User::where('plan_id', $plan->id)
|
if (!User::where('plan_id', $plan->id)
|
||||||
->get()
|
|
||||||
->update(['group_id' => $plan->group_id])
|
->update(['group_id' => $plan->group_id])
|
||||||
) {
|
) {
|
||||||
DB::rollBack();
|
DB::rollBack();
|
||||||
|
|||||||
Reference in New Issue
Block a user