dever 4 years ago
parent
commit
226d9a3c59
1 changed files with 1 additions and 4 deletions
  1. 1 4
      lib/Client.php

+ 1 - 4
lib/Client.php

@@ -300,10 +300,7 @@ class Client extends Base
 	private function update($data, $id)
 	{
 		if ($this->get && isset($data[$this->get])) {
-			$key = $this->get;
-			$get = $data[$key];
-			$this->get = array();
-			$this->get[$key] = $data[$key];
+			$this->refer_param[$this->get] = $data[$this->get];
 		}
         $this->param('user', 'access_token', $data['access_token']);
 		$this->param('user', 'openid', $data['openid']);