X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fapignusocialoauthdatastore.php;h=da412df8d298bfe9a55a946a37b4df71c7a79ecc;hb=d2104b89d93d40bf68884055196340465f3f6497;hp=7550ec5f6fa8723e4b240eb6c5724cd08c3d70f7;hpb=3cab5b36c14085617e41bbf1313593e4a1336906;p=quix0rs-gnu-social.git diff --git a/lib/apignusocialoauthdatastore.php b/lib/apignusocialoauthdatastore.php index 7550ec5f6f..da412df8d2 100644 --- a/lib/apignusocialoauthdatastore.php +++ b/lib/apignusocialoauthdatastore.php @@ -30,7 +30,7 @@ class ApiGNUsocialOAuthDataStore extends OAuthDataStore { $con = Consumer::getKV('consumer_key', $consumerKey); - if (!$con) { + if (!$con instanceof Consumer) { // Create an anon consumer and anon application if one // doesn't exist already