Skip to content

Commit

Permalink
Update hybridauth/Hybrid/Providers/Google.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fedetorre committed Jul 19, 2012
1 parent f60b030 commit af0edaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hybridauth/Hybrid/Providers/Google.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function getUserContacts()
// refresh tokens if needed
$this->refreshToken();

$response = $this->api->api( "https://www.google.com/m8/feeds/contacts/default/full?alt=json&max-results=500" );
$response = $this->api->api( "https://www.google.com/m8/feeds/contacts/default/full?" . http_build_query(array_merge(array('alt' => 'json'), $this->config['contacts_param'])) );

if( ! $response ){
return ARRAY();
Expand Down

0 comments on commit af0edaf

Please sign in to comment.