diff --git a/Application/Sdk/Controller/PayH5Controller.class.php b/Application/Sdk/Controller/PayH5Controller.class.php index d9964e9b..afc43161 100644 --- a/Application/Sdk/Controller/PayH5Controller.class.php +++ b/Application/Sdk/Controller/PayH5Controller.class.php @@ -1467,7 +1467,7 @@ class PayH5Controller extends BaseController{ // if (get_wx_pay_type() == 0) { if ($pay_info['channel'] == 2) { $weixn = new Weixin(); - $is_pay = json_decode($weixn->weixin_pay(isset($request['title']) ? $request['title']: "充值", $request['pay_order_number'], $pay_amount, 'MWEB', 1, $pay_conf), true); + $is_pay = json_decode($weixn->weixin_pay(empty($request['title']) ? $request['title']: "充值", $request['pay_order_number'], $pay_amount, 'MWEB', 1, $pay_conf), true); if($is_pay['status']==1){