Browse Source

Update wechat.class.php

变量初始化
jifei 10 years ago
parent
commit
90b7fef1b5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wechat.class.php

+ 1 - 0
wechat.class.php

@@ -159,6 +159,7 @@ class Wechat
 	public function valid($return=false)
     {
         $encryptStr="";
+        $echoStr="";
         if ($_SERVER['REQUEST_METHOD'] == "POST") {
             $postStr = file_get_contents("php://input");
             $array = (array)simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);