This commit is contained in:
root 2019-12-31 15:53:27 +08:00
parent e1fce3ae37
commit f5db443668

View File

@ -68,7 +68,7 @@ class OrderController extends Controller
abort(500, '该订阅无法续费,请更换其他订阅');
}
if (!(int)$plan[$request->input('cycle')]) {
if (empty($plan[$request->input('cycle')])) {
abort(500, '该订阅周期无法进行购买,请选择其他周期');
}