philsturgeon / codeigniter-oauth2

NO LONGER ACTIVELY MAINTAINED. USE https://github.com/thephpleague/oauth2-client INSTEAD
http://getsparks.org/packages/oauth2/versions/HEAD/show
349 stars 177 forks source link

Fix for the nickname PHP notice if the Facebook user doesn't have a user... #22

Closed psp83 closed 12 years ago

psp83 commented 12 years ago

When the user comes back to the controller and they didn't have a facebook username set they would get the following :-

A PHP Error was encountered Severity: Notice Message: Undefined property: stdClass::$username Filename: Provider/Facebook.php Line Number: 37