Browse Source

公众号类 修复getRevScanInfo()方法bug
(感谢@lqhlqy 提出,fixed #205)

binsee 10 years ago
parent
commit
d6b31db063
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wechat.class.php

+ 1 - 1
wechat.class.php

@@ -501,7 +501,7 @@ class Wechat
 	 */
 	public function getRevScanInfo(){
 		if (isset($this->_receive['ScanCodeInfo'])){
-		    if (!is_array($this->_receive['SendPicsInfo'])) {
+		    if (!is_array($this->_receive['ScanCodeInfo'])) {
 		        $array=(array)$this->_receive['ScanCodeInfo'];
 		        $this->_receive['ScanCodeInfo']=$array;
 		    }else {