in OAuthStoreMySQL->getConsumer() function before the return statement
there is a user_id check:
http://code.google.com/p/oauth-php/source/browse/trunk/library/store/OAuthStoreM
ySQL.php#1122
if (!$user_is_admin && !empty($r['user_id']) && $r['user_id'] != $user_id)
the $r doesn't exist and i believe it's a typo for $c.
It should be:
if (!$user_is_admin && !empty($c['user_id']) && $c['user_id'] != $user_id)
Original issue reported on code.google.com by martin.j...@gmail.com on 23 Mar 2009 at 1:36
Original issue reported on code.google.com by
martin.j...@gmail.com
on 23 Mar 2009 at 1:36