更新核心类库

This commit is contained in:
thinkphp
2015-01-19 11:04:05 +08:00
parent 5f1623aa7d
commit b34b209af4
85 changed files with 1266 additions and 6142 deletions

View File

@@ -69,7 +69,7 @@ class Baidu extends Driver{
if(!empty($this->token['openid']))
return $this->token['openid'];
$data = $this->call('passport/users/getLoggedInUser');
return !empty($data['uid'])?$data['uid']:NULL;
return !empty($data['uid'])?$data['uid']:null;
}
/**