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