From 706ba2451456b834de7d447826655ee72bccbcdc Mon Sep 17 00:00:00 2001 From: dedemao Date: Mon, 25 Mar 2019 11:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=BD=91=E7=AB=99=E6=94=AF?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 兼容php7.2 --- wap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wap.php b/wap.php index de2c107..52ee174 100644 --- a/wap.php +++ b/wap.php @@ -107,12 +107,12 @@ public function doPay() */ protected function buildRequestForm($para_temp) { $sHtml = "
"; - while (list ($key, $val) = each ($para_temp)) { + foreach($para_temp as $key=>$val){ if (false === $this->checkEmpty($val)) { $val = str_replace("'","'",$val); $sHtml.= ""; - } - } + } + } //submit按钮控件请不要含有name属性 $sHtml = $sHtml."
"; $sHtml = $sHtml."";