diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 0d006d0ea..84609cca9 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -170,9 +170,9 @@ class QueryController extends BaseController $parameter['user_account'] = $userAccount; $parameter['order_number'] = $orderNumber; $parameter['own_id'] = $ownId; - $parameter['level_promote_2'] = intval(I('level_promote_2', 0)); - $parameter['level_promote_3'] = intval(I('level_promote_3', 0)); - $parameter['level_promote_4'] = intval(I('level_promote_4', 0)); + $parameter['level_promote_2'] = $levelPromote[0]; + $parameter['level_promote_3'] = $levelPromote[1]; + $parameter['level_promote_4'] = $levelPromote[2]; !isset($_REQUEST['pay_way']) || $parameter['pay_way'] = I('pay_way'); $serverData = $this->getServer(I('relation_game_id'), I('sdk_version')); @@ -269,9 +269,9 @@ class QueryController extends BaseController $parameter['account'] = $account; empty($id) || $parameter['id'] = $id; $parameter['own_id'] = $ownId; - $parameter['level_promote_2'] = intval(I('level_promote_2', 0)); - $parameter['level_promote_3'] = intval(I('level_promote_3', 0)); - $parameter['level_promote_4'] = intval(I('level_promote_4', 0)); + $parameter['level_promote_2'] = $levelPromote[0]; + $parameter['level_promote_3'] = $levelPromote[1]; + $parameter['level_promote_4'] = $levelPromote[2]; $page = set_pagination($count, $row, $parameter); if ($page) { $this->assign('_page', $page);