mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
commit
0e75b83507
@ -90,7 +90,7 @@ class OrderController extends Controller
|
||||
if (!$user->plan_id) {
|
||||
abort(500, __('Subscription has expired or no active subscription, unable to purchase Data Reset Package'));
|
||||
} else {
|
||||
if ($user->plan_id !== $request->input('plan_id')) {
|
||||
if ($user->plan_id !== $plan->id) {
|
||||
abort(500, __('This subscription reset package does not apply to your subscription'));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user