mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 08:39:09 +08:00
fix
This commit is contained in:
parent
89630d889d
commit
e97f6c64a0
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user