Skip to content

Commit

Permalink
调整参数默认处理
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Nov 11, 2016
1 parent 4d10fbd commit 668c4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wechat/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static public function config($config = array()) {
self::$config['appsecret'] = self::$config['component_appsecret'];
}
if (empty(self::$config['encodingaeskey']) && !empty(self::$config['component_encodingaeskey'])) {
self::$config['encodingaeskey'] = self::$config['encodingaeskey'];
self::$config['encodingaeskey'] = self::$config['component_encodingaeskey'];
}
return self::$config;
}
Expand Down

0 comments on commit 668c4f2

Please sign in to comment.