IntuitDeveloper / OAuth2_PHP

PHP sample app for OAuth2
Apache License 2.0
37 stars 34 forks source link

Fix undefined index notice #17

Open TechhDan opened 3 years ago

TechhDan commented 3 years ago

Accessing an index in an array that has not been set generates a undefined index notice. empty() fixes that by checking if a variable is set first.