正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -410,7 +410,8 @@ class AopClient { | @@ -410,7 +410,8 @@ class AopClient { | ||
410 | protected function buildRequestForm($para_temp) { | 410 | protected function buildRequestForm($para_temp) { |
411 | 411 | ||
412 | $sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->gatewayUrl."?charset=".trim($this->postCharset)."' method='POST'>"; | 412 | $sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->gatewayUrl."?charset=".trim($this->postCharset)."' method='POST'>"; |
413 | - while (list ($key, $val) = each ($para_temp)) { | 413 | + //while (list ($key, $val) = each ($para_temp)) { |
414 | + foreach ($para_temp as $key => $val) { | ||
414 | if (false === $this->checkEmpty($val)) { | 415 | if (false === $this->checkEmpty($val)) { |
415 | //$val = $this->characet($val, $this->postCharset); | 416 | //$val = $this->characet($val, $this->postCharset); |
416 | $val = str_replace("'","'",$val); | 417 | $val = str_replace("'","'",$val); |
-
请 注册 或 登录 后发表评论