mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 15:39:10 +08:00
update: fix reset package
This commit is contained in:
parent
0f7d787622
commit
a0b14029cd
@ -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