Skip to content

Commit

Permalink
array_merge(): Argument w7corp#1 is not an array
Browse files Browse the repository at this point in the history
将变量$lastPermission默认值设为array(),否则刷新accesstoken的时候在219行array_merge()函数那里会报错:array_merge(): Argument w7corp#1 is not an array
  • Loading branch information
skyfister authored Jun 22, 2016
1 parent 2d640e0 commit 5b7cc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wechat/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Auth
*
* @var array
*/
protected $lastPermission;
protected $lastPermission = array();

/**
* 已授权用户.
Expand Down

0 comments on commit 5b7cc10

Please sign in to comment.