Authored by hf

fixes bug refs YW-1515 partner login

@@ -204,7 +204,7 @@ class LoginController extends AbstractAction @@ -204,7 +204,7 @@ class LoginController extends AbstractAction
204 $access = $qqconnect->getAccessToken(); 204 $access = $qqconnect->getAccessToken();
205 /* 获取QQ腾讯用户的详细信息 */ 205 /* 获取QQ腾讯用户的详细信息 */
206 $partnerInfo = $qqconnect->getUserInfo($access); 206 $partnerInfo = $qqconnect->getUserInfo($access);
207 - 207 +
208 $result = array(); 208 $result = array();
209 if ($partnerInfo && is_array($partnerInfo)) { 209 if ($partnerInfo && is_array($partnerInfo)) {
210 $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['openid'], 'qq'); 210 $result = LoginData::signinByOpenID($partnerInfo['nickname'], $access['openid'], 'qq');